##// END OF EJS Templates
corrected i18n, css modules to support requirejs optimizer...
corrected i18n, css modules to support requirejs optimizer i18n bundles now conforms js modules with default exports (breaking change!)

File last commit:

r2:8ec37bf1b4d1 default
r53:deb0ed6fb680 v1.0.7 default
Show More
i18n.d.ts
22 lines | 717 B | video/mp2t | TypeScriptLexer
interface I18n {
getLocalization(moduleName: string, bundleName: string, locale?: string): any;
dynamic: boolean;
/**
* Resolves id into a module id based on possibly-nested tenary expression that branches on has feature test value(s).
*/
normalize(id: string, toAbsMid: Function): string; /* TODO: Align with loader api */
/**
* Conditional loading of AMD modules based on a has feature test value.
*/
load(id: string, parentRequire: Function, loaded: Function): void; /* TODO: Align with loader api */
cache: { [bundle: string]: any };
getL10nName(moduleName: string, bundleName: string, locale?: string): string;
}
declare const i18n: I18n;
export = i18n;