mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Namespace 'passport' has no exported member 'Passport'.
This commit is contained in:
7
types/koa-passport/index.d.ts
vendored
7
types/koa-passport/index.d.ts
vendored
@@ -2,6 +2,7 @@
|
||||
// Project: https://github.com/rkusa/koa-passport
|
||||
// Definitions by: horiuchi <https://github.com/horiuchi>
|
||||
// Tomek Łaziuk <https://github.com/tlaziuk>
|
||||
// Tümay Çeber <https://github.com/brendtumi>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
@@ -46,9 +47,9 @@ declare namespace KoaPassport {
|
||||
authorize(strategy: string | string[], callback?: (...args: any[]) => any): Middleware;
|
||||
authorize(strategy: string | string[], options: any, callback?: (...args: any[]) => any): Middleware;
|
||||
|
||||
serializeUser: passport.Passport["serializeUser"];
|
||||
deserializeUser: passport.Passport["deserializeUser"];
|
||||
transformAuthInfo: passport.Passport["transformAuthInfo"];
|
||||
serializeUser: passport.Authenticator["serializeUser"];
|
||||
deserializeUser: passport.Authenticator["deserializeUser"];
|
||||
transformAuthInfo: passport.Authenticator["transformAuthInfo"];
|
||||
}
|
||||
|
||||
interface Static extends KoaPassport {
|
||||
|
||||
Reference in New Issue
Block a user