mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +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:
1 parent
c0d876601e
commit
36e064e2cb
11 files changed
+279
-35
No files matched your search
@@ -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