wuchale
Version:
Protobuf-like i18n from normal code
6 lines • 352 B
TypeScript
export type Mixed = (number | string)[];
export type CompositePayload = CompiledElement | number;
export type Composite = [number, ...CompositePayload[]];
export type CompiledElement = string | Mixed | Composite;
export declare function compileTranslation(text: string, fallback: CompiledElement): CompiledElement;
//# sourceMappingURL=compile.d.ts.map