fix: passport-http-bearer Strategy class should implement interface (#25526)

bump up version to 0.0.2
This commit is contained in:
Seunghwa (Steve) Song 2018-05-10 03:36:36 +09:00 committed by Sheetal Nandi
parent 7b519d78ed
commit 0fa5da1423
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"private": true,
"name": "definitely-typed",
"version": "0.0.1",
"version": "0.0.2",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped",
"repository": {
"type": "git",

View File

@ -28,7 +28,7 @@ interface VerifyFunctionWithRequest {
(req: express.Request, token: string, done: (error: any, user?: any, options?: IVerifyOptions | string) => void): void;
}
declare class Strategy extends passport.Strategy {
declare class Strategy implements passport.Strategy {
constructor(verify: VerifyFunction);
constructor(options: IStrategyOptions, verify: VerifyFunction);
constructor(options: IStrategyOptions, verify: VerifyFunctionWithRequest);