Skip to content

Commit

Permalink
fix: passport-http-bearer Strategy class should implement interface (D…
Browse files Browse the repository at this point in the history
…efinitelyTyped#25526)

bump up version to 0.0.2
  • Loading branch information
sshtel authored and sheetalkamat committed May 9, 2018
1 parent 7b519d7 commit 0fa5da1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion types/passport-http-bearer/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0fa5da1

Please sign in to comment.