mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-28 12:30:21 +08:00
Merge branch 'master' into rename-repo-url
This commit is contained in:
commit
7de6c3dd94
1140 files changed
+179704
-179635
No files matched your search
Vendored
+2
-2
@@ -10,7 +10,7 @@ declare module "express-unless" {
|
||||
|
||||
function unless(options:unless.Options): express.RequestHandler;
|
||||
|
||||
module unless {
|
||||
namespace unless {
|
||||
export interface Options {
|
||||
custom?: (req: express.Request) => boolean;
|
||||
path?: any; // TODO: union type 'string|string[]' is not supported yet
|
||||
@@ -23,4 +23,4 @@ declare module "express-unless" {
|
||||
}
|
||||
|
||||
export = unless;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user