isolate types

This commit is contained in:
Jacob Overgaard
2023-08-03 10:17:35 +02:00
parent 20ccea0735
commit b1ad19197d
2 changed files with 5 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
export * from './registry/translation.registry.js';
export * from './localize.controller.js';
export { registerTranslation } from './manager.js';
export * from './types/translation.js';
export * from './manager.js';

View File

@@ -0,0 +1,3 @@
export type UmbTranslationEntry = string | ((...args: never[]) => string);
export type UmbTranslationsDictionary = Record<string, Record<string, UmbTranslationEntry>>;
export type UmbTranslationsFlatDictionary = Record<string, UmbTranslationEntry>;