Closed lifeiscontent closed 11 months ago
this change allows for chaining to happen while resolving the proper type.
example:
previously:
export const authenticator = new Authenticator<SessionData["user"]>( sessionStorage, { sessionKey, } ); authenticator.use(auth0Strategy);
now:
export const authenticator = new Authenticator<SessionData["user"]>( sessionStorage, { sessionKey, } ).use(auth0Strategy); // previously doing this would result in a type error due to user resolving to `unknown`
@sergiodxa when will these changes be released?
this change allows for chaining to happen while resolving the proper type.
example:
previously:
now: