@forge/i18n
0.0.70.0.7-experimental-04cc2b9
out/types.d.ts~
out/types.d.tsModified+4−4
Index: package/out/types.d.ts
===================================================================
--- package/out/types.d.ts
+++ package/out/types.d.ts
@@ -1,7 +1,7 @@
import { type ForgeSupportedLocaleCode } from './constants';
export { ForgeSupportedLocaleCode };
-declare type TranslationsResources = [
+type TranslationsResources = [
{
key: ForgeSupportedLocaleCode;
path: string;
},
@@ -9,18 +9,18 @@
key: ForgeSupportedLocaleCode;
path: string;
}[]
];
-declare type TranslationsFallback = {
+type TranslationsFallback = {
[key in ForgeSupportedLocaleCode]?: ForgeSupportedLocaleCode[];
} & {
default: ForgeSupportedLocaleCode;
};
export interface Translations {
resources: TranslationsResources;
fallback: TranslationsFallback;
}
-declare type I18nInfoTranslations = Record<string, {
+type I18nInfoTranslations = Record<string, {
[key in ForgeSupportedLocaleCode]?: string;
}>;
interface I18nInfoConfig {
locales: ForgeSupportedLocaleCode[];
@@ -29,8 +29,8 @@
export interface I18nInfo {
translations: I18nInfoTranslations;
config: I18nInfoConfig;
}
-export declare type I18nValue = {
+export type I18nValue = {
i18n: string;
};
//# sourceMappingURL=types.d.ts.map
\ No newline at end of file