replace internal module to namespace

This commit is contained in:
vvakame
2016-03-17 02:18:10 +09:00
parent 2f47c75835
commit 14fe4313f4
1139 changed files with 179639 additions and 179639 deletions
+2 -2
View File
@@ -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;
}
}