mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Fixed a failing test
This commit is contained in:
Vendored
+4
@@ -4,11 +4,15 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
///<reference types="passport"/>
|
||||
///<reference types="express"/>
|
||||
|
||||
import * as passport from 'passport';
|
||||
import * as express from 'express';
|
||||
|
||||
declare class Strategy<T> implements passport.Strategy {
|
||||
constructor(options: Strategy.IStrategyOption, verify: (accessToken: string, refreshToken: string, profile: Strategy.Profile, done: (error: any, user?: any) => void) => void);
|
||||
name: string;
|
||||
authenticate: (req: express.Request, options?: Object) => void;
|
||||
}
|
||||
|
||||
declare namespace Strategy {
|
||||
|
||||
Reference in New Issue
Block a user