mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Fix error for "connect-timeout".
Add module to extend interface for "i18next". Add default export for "express-brute-memcached". Remove unnecessary interface for "i18next-express-middleware". Add definitions for "i18next-browser-languagedetector" and "i18next-node-fs-backend".
This commit is contained in:
@@ -6,6 +6,17 @@
|
||||
///<reference path="../express/express.d.ts"/>
|
||||
///<reference path="../i18next/i18next.d.ts"/>
|
||||
|
||||
declare module I18next {
|
||||
interface I18nextOptions extends i18nextSprintfPostProcessor.I18nextOptions {}
|
||||
}
|
||||
|
||||
declare module i18nextSprintfPostProcessor {
|
||||
interface I18nextOptions {
|
||||
overloadTranslationOptionHandler?(args: Array<any>): void;
|
||||
process?(value: any, key: string, options: Object): void;
|
||||
}
|
||||
}
|
||||
|
||||
declare module "i18next-sprintf-postprocessor" {
|
||||
import i18next = require("i18next");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user