mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge branch 'master' into rename-repo-url
This commit is contained in:
Vendored
+2
-2
@@ -5,7 +5,7 @@
|
||||
|
||||
/// <reference path="../express/express.d.ts" />
|
||||
|
||||
declare module Express {
|
||||
declare namespace Express {
|
||||
interface ErrorCallback {
|
||||
(err?: any): void;
|
||||
}
|
||||
@@ -38,4 +38,4 @@ declare module "easy-session" {
|
||||
export function isLoggedIn(errorCallback?: Function): express.RequestHandler;
|
||||
export function isFresh(errorCallback?: Function): express.RequestHandler;
|
||||
export function checkRole(role: string, errorCallback?: Function): express.RequestHandler;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user