From ba4a6c2e987dfd56db599317d743855a02f3b1f7 Mon Sep 17 00:00:00 2001 From: "ivan.zubok" Date: Fri, 25 Nov 2016 16:14:39 +0200 Subject: [PATCH] fix lint error --- passport-oauth2-client-password/index.d.ts | 6 +++--- passport-oauth2-client-password/tsconfig.json | 2 +- passport-oauth2-client-password/tslint.json | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 passport-oauth2-client-password/tslint.json 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" }