@forge/i18n
0.0.7-experimental-04cc2b91.0.0-next.0
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 };
-type TranslationsResources = [
+declare type TranslationsResources = [
{
key: ForgeSupportedLocaleCode;
path: string;
},
@@ -9,18 +9,18 @@
key: ForgeSupportedLocaleCode;
path: string;
}[]
];
-type TranslationsFallback = {
+declare type TranslationsFallback = {
[key in ForgeSupportedLocaleCode]?: ForgeSupportedLocaleCode[];
} & {
default: ForgeSupportedLocaleCode;
};
export interface Translations {
resources: TranslationsResources;
fallback: TranslationsFallback;
}
-type I18nInfoTranslations = Record<string, {
+declare type I18nInfoTranslations = Record<string, {
[key in ForgeSupportedLocaleCode]?: string;
}>;
interface I18nInfoConfig {
locales: ForgeSupportedLocaleCode[];
@@ -29,8 +29,8 @@
export interface I18nInfo {
translations: I18nInfoTranslations;
config: I18nInfoConfig;
}
-export type I18nValue = {
+export declare type I18nValue = {
i18n: string;
};
//# sourceMappingURL=types.d.ts.map
\ No newline at end of file