You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
any chance of exporting the VerifyCallback and Options types? typescript isn't inferring the super class at all when used as part of a nestjs implementation...
import{Injectable}from"@nestjs/common";import{PassportStrategy}from"@nestjs/passport";importStrategyfrom"passport-magic-login";
@Injectable()exportclassMagicLoginStrategyextendsPassportStrategy(Strategy){constructor(){super({...}asOptions);// <-- would be nice to cast to the Option type here instead of digging through the type declarations}}
The text was updated successfully, but these errors were encountered:
any chance of exporting the VerifyCallback and Options types? typescript isn't inferring the super class at all when used as part of a nestjs implementation...
The text was updated successfully, but these errors were encountered: