@neiderruiz/translate-files
Version:
Internationalize and manage your website easily with (CSV or JSON to i18n)
18 lines (17 loc) • 351 B
TypeScript
export type TypeSimpleJson = {
[key: string]: string;
};
export type TranslationsOrder = {
[key: string]: {
[key: string]: string;
};
};
export type ObjectWithStringKeys = {
[key: string]: any;
};
export type FlattenWriteTranslationJson = {
[key: string]: {
message: string;
description?: string;
};
};