Skip to content

Commit

Permalink
Merge pull request #134 from NickBolles/patch-2
Browse files Browse the repository at this point in the history
fix(): typings for PassportStrategy
  • Loading branch information
kamilmysliwiec authored Nov 28, 2019
2 parents 89ed1ab + efc077a commit e821c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/passport/passport.strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export function PassportStrategy<T extends Type<any> = any>(
Strategy: T,
name?: string | undefined
): {
new (...args): T;
new (...args): InstanceType<T>;
} {
abstract class MixinStrategy extends Strategy {
abstract validate(...args: any[]): any;
Expand Down

0 comments on commit e821c87

Please sign in to comment.