@forge/cli-shared
8.24.0-experimental-04cc2b98.24.1-next.0
out/service/i18n-resource-bundling-service.d.ts~
out/service/i18n-resource-bundling-service.d.tsModified+4−2
Index: package/out/service/i18n-resource-bundling-service.d.ts
===================================================================
--- package/out/service/i18n-resource-bundling-service.d.ts
+++ package/out/service/i18n-resource-bundling-service.d.ts
@@ -1,13 +1,15 @@
+/// <reference types="node" />
+/// <reference types="node" />
import { type Modules, type Translations, type ForgeSupportedLocaleCode } from '@forge/manifest';
-export type I18nResourceBundle = {
+export declare type I18nResourceBundle = {
path: string;
exists: true;
} | {
exists: false;
};
export declare const EMPTY_I18N_RESOURCE_BUNDLE: I18nResourceBundle;
-type I18nResourceFileAccessor = (resourceKey: ForgeSupportedLocaleCode | string) => Promise<Buffer | null>;
+declare type I18nResourceFileAccessor = (resourceKey: ForgeSupportedLocaleCode | string) => Promise<Buffer | null>;
export declare const listFilesInI18nResourceBundle: (i18nResourceBundle: I18nResourceBundle) => [string, string][];
export declare class I18nResourceBundlingService {
private copyLocaleFilesToBundleDir;
private createI18nInfoFile;