The return type of `signinCallback` is not properly typed
noshiro-pf opened this issue · 0 comments
noshiro-pf commented
The return type Promise<User | void>
of signinCallback
is not properly typed and should be Promise<User | undefined>
.
Functions annotated with a void
return type are created with the intention that their return value will not be used, so using the type User | void
for the return value seems to be against that intention.
Related URLs