Skip to content

Commit

Permalink
add 'info' VerifiedCallback type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Lior Ben-David committed Jun 30, 2020
1 parent 8deb616 commit 890c43c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.d.ts
Expand Up @@ -6,7 +6,7 @@ export interface VerifyCallback {
}

export interface VerifiedCallback {
(error: any, user?: any): void;
(error: any, user?: any, info?: any): void;
}

export declare class Strategy extends PassportStrategy {
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "passport-custom",
"version": "1.1.1",
"version": "1.1.2",
"description": "Custom authentication strategy for Passport.",
"keywords": [
"passport",
Expand Down

0 comments on commit 890c43c

Please sign in to comment.