mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
fix lint error
This commit is contained in:
6
passport-oauth2-client-password/index.d.ts
vendored
6
passport-oauth2-client-password/index.d.ts
vendored
@@ -6,8 +6,8 @@
|
||||
/// <reference types="passport"/>
|
||||
/// <reference types="express"/>
|
||||
|
||||
import passport = require('passport');
|
||||
import express = require('express');
|
||||
import * as passport from 'passport';
|
||||
import * as express from 'express';
|
||||
|
||||
interface StrategyOptionsWithRequestInterface {
|
||||
passReqToCallback: boolean;
|
||||
@@ -26,5 +26,5 @@ declare class Strategy implements passport.Strategy {
|
||||
constructor(verify: VerifyFunction);
|
||||
|
||||
name: string;
|
||||
authenticate: (req: express.Request, options?: Object) => void;
|
||||
authenticate: (req: express.Request, options?: {}) => void;
|
||||
}
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
"index.d.ts",
|
||||
"passport-oauth2-client-password-tests.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
Reference in New Issue
Block a user