Update definitions for "i18next-express-middleware", "i18next" and

"connect-timeout".
Remove "tscparams" file for "acc-wizard".
This commit is contained in:
Cyril Schumacher
2016-01-07 16:23:33 +01:00
parent 7e3bc700b3
commit 5f2a5d25bb
6 changed files with 132 additions and 21 deletions
+5 -2
View File
@@ -23,6 +23,10 @@ declare module Express {
declare module "connect-timeout" {
import express = require("express");
/**
* @summary Interface for timeout options.
* @interface
*/
interface TimeoutOptions extends Object {
/**
* @summary Controls if this module will "respond" in the form of forwarding an error.
@@ -31,6 +35,5 @@ declare module "connect-timeout" {
respond: boolean;
}
function timeout(timeout: string, options?: TimeoutOptions): express.RequestHandler;
export = timeout;
export default function timeout(timeout: string, options?: TimeoutOptions): express.RequestHandler;
}