ngx-i18n-combine
Version:
Merge i18n files from components and merge to common locale files
26 lines (25 loc) • 489 B
TypeScript
export interface ILocale {
[key: string]: any;
}
export interface ILocales {
[key: string]: ILocale;
}
export interface ICombineOptions {
input: string[];
output: string[];
indent?: string;
locales?: string[];
sort?: boolean;
minify?: boolean;
verbose?: boolean;
watch?: boolean;
}
export interface IParser {
parse(): ILocale;
}
export interface ICompiller {
compile(locales: ILocale): void;
}
export interface ICombine {
run(): void;
}