add options object to errorhandler function

This commit is contained in:
Peter Grman
2015-03-30 18:03:48 +02:00
parent f8f1b95d00
commit 7acd468847
+2 -2
View File
@@ -7,6 +7,6 @@
declare module "errorhandler" {
import express = require('express');
function e(): express.ErrorRequestHandler;
function e(options?: {log?: any}): express.ErrorRequestHandler;
export = e;
}
}