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
@@ -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