ifc-expressions
Version:
Parsing and evaluation of IFC expressions
13 lines (12 loc) • 396 B
TypeScript
export type LocalizedText = {
key: string;
fallback: string;
};
export type DocumentationLocalizer = {
t(key: string, fallback: string): string;
};
export type ArgumentDocumentation = {
label: LocalizedText;
documentation: LocalizedText;
};
export declare function resolveLocalizedText(text: LocalizedText | undefined, localizer?: DocumentationLocalizer): string | undefined;