mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-26 11:12:19 +08:00
Merge pull request #3994 from pgrm/patch-1
add options object to errorhandler function
This commit is contained in:
Vendored
+2
-2
@@ -7,6 +7,6 @@
|
||||
|
||||
declare module "errorhandler" {
|
||||
import express = require('express');
|
||||
function e(): express.ErrorRequestHandler;
|
||||
function e(options?: {log?: any}): express.ErrorRequestHandler;
|
||||
export = e;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user