mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 11:41:44 +00:00
* Fix #8985 * Update definition of ITranslationTable to support namespace (#2433)
This commit is contained in:
+2
-2
@@ -13,7 +13,7 @@ declare module "angular-translate" {
|
||||
declare namespace angular.translate {
|
||||
|
||||
interface ITranslationTable {
|
||||
[key: string]: any;
|
||||
[key: string]: string | ITranslationTable;
|
||||
}
|
||||
|
||||
interface ILanguageKeyAlias {
|
||||
@@ -96,7 +96,7 @@ declare namespace angular.translate {
|
||||
storageKey(): string;
|
||||
storageKey(key: string): void; // JeroMiya - the library should probably return ITranslateProvider but it doesn't here
|
||||
useUrlLoader(url: string): ITranslateProvider;
|
||||
useStaticFilesLoader(options: IStaticFilesLoaderOptions): ITranslateProvider;
|
||||
useStaticFilesLoader(options: IStaticFilesLoaderOptions | { files: IStaticFilesLoaderOptions[] }): ITranslateProvider;
|
||||
useLoader(loaderFactory: string, options?: any): ITranslateProvider;
|
||||
useLocalStorage(): ITranslateProvider;
|
||||
useCookieStorage(): ITranslateProvider;
|
||||
|
||||
Reference in New Issue
Block a user