Skip to content

Commit 6180c5f

Browse files
committed
chore: add TypeScript declaration for ZenUml module
1 parent a9f7a94 commit 6180c5f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
declare module '@zenuml/core' {
2+
interface RenderOptions {
3+
theme?: string;
4+
mode?: string;
5+
}
6+
7+
export default class ZenUml {
8+
constructor(container: Element);
9+
render(text: string, options?: RenderOptions): Promise<void>;
10+
}
11+
}

0 commit comments

Comments
 (0)