* Add "movieImages()" method, add "language" opional parametr

* Change Definitions by

* Add types for https://github.com/jaredhanson/connect-ensure-login

* Add tslint.json for connect-ensure-login

* Remove module from connect-ensure-login

* Set strictNullChecks to true in connect-ensure-login

* Add definitions for https://github.com/jaredhanson/passport-anonymous

* Fix tests

* fix import

* fix import
This commit is contained in:
Pavel Puchkov
2017-01-17 22:40:41 -08:00
committed by Mohamed Hegazy
parent 25a0880570
commit b422c432dd
4 changed files with 37 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
// Type definitions for passport-anonymous 1.0
// Project: https://github.com/jaredhanson/passport-anonymous
// Definitions by: Pavel Puchkov <https://github.com/0x6368656174>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import * as passport from "passport";
export class Strategy implements passport.Strategy {
authenticate: () => void;
}
@@ -0,0 +1,4 @@
import * as passport from "passport";
import { Strategy } from "passport-anonymous";
passport.use(new Strategy());
+20
View File
@@ -0,0 +1,20 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"passport-anonymous-tests.ts"
]
}
+3
View File
@@ -0,0 +1,3 @@
{
"extends": "../tslint.json"
}