ignore ZenUML types

This commit is contained in:
dontry
2023-05-17 23:50:57 +10:00
committed by Alois Klink
parent e984b34af4
commit 49c97dad4c
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ export const draw = async function (text: string, id: string) {
const { foreignObject, container, app } = createForeignObject(id);
svgContainer.appendChild(foreignObject);
// @ts-expect-error @zenuml/core@3.0.0 exports the wrong type for ZenUml
const zenuml = new ZenUml(app);
// default is a theme name. More themes to be added and will be configurable in the future
await zenuml.render(text, 'theme-mermaid');