mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 06:49:47 +02:00
chore: Add type checked rules, auto fix
This commit is contained in:
@@ -9,7 +9,7 @@ function createTemporaryZenumlContainer(id: string) {
|
||||
container.id = `container-${id}`;
|
||||
container.style.display = 'flex';
|
||||
container.innerHTML = `<div id="zenUMLApp-${id}"></div>`;
|
||||
const app = container.querySelector(`#zenUMLApp-${id}`) as HTMLElement;
|
||||
const app = container.querySelector(`#zenUMLApp-${id}`)!;
|
||||
return { container, app };
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user