mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
i18next fixed typing of exists key parameter
This commit is contained in:
Vendored
+1
-1
@@ -108,7 +108,7 @@ declare namespace i18n {
|
||||
|
||||
t(key: string, options?: TranslationOptions): string | any | Array<any>;
|
||||
|
||||
exists(key, options?: TranslationOptions): boolean;
|
||||
exists(key: string, options?: TranslationOptions): boolean;
|
||||
|
||||
setDefaultNamespace(ns: string): void;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user