diff --git a/passport-oauth2-client-password/index.d.ts b/passport-oauth2-client-password/index.d.ts index 2db225c413..98c45ef998 100644 --- a/passport-oauth2-client-password/index.d.ts +++ b/passport-oauth2-client-password/index.d.ts @@ -6,8 +6,8 @@ /// /// -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; } diff --git a/passport-oauth2-client-password/tsconfig.json b/passport-oauth2-client-password/tsconfig.json index 60557fc1eb..f3db47739c 100644 --- a/passport-oauth2-client-password/tsconfig.json +++ b/passport-oauth2-client-password/tsconfig.json @@ -16,4 +16,4 @@ "index.d.ts", "passport-oauth2-client-password-tests.ts" ] -} \ No newline at end of file +} diff --git a/passport-oauth2-client-password/tslint.json b/passport-oauth2-client-password/tslint.json deleted file mode 100644 index 377cc837d4..0000000000 --- a/passport-oauth2-client-password/tslint.json +++ /dev/null @@ -1 +0,0 @@ -{ "extends": "../tslint.json" }