chore: add TypeScript declaration for ZenUml module

This commit is contained in:
MrCoder
2025-07-27 21:11:40 +10:00
parent a9f7a94ae3
commit 6180c5f2ff

11
packages/mermaid-zenuml/src/zenuml.d.ts vendored Normal file
View File

@@ -0,0 +1,11 @@
declare module '@zenuml/core' {
interface RenderOptions {
theme?: string;
mode?: string;
}
export default class ZenUml {
constructor(container: Element);
render(text: string, options?: RenderOptions): Promise<void>;
}
}