From 2dd6329872a2d509c40ff9be14aab4a48144a9e9 Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Wed, 29 Mar 2023 16:55:58 +0200 Subject: [PATCH] Define and export the Mermaid type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This represents the type of the default export. This is useful when it’s being passed around or declared as a global. --- packages/mermaid/src/mermaid.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/mermaid/src/mermaid.ts b/packages/mermaid/src/mermaid.ts index bd99877b6..4b02adb1c 100644 --- a/packages/mermaid/src/mermaid.ts +++ b/packages/mermaid/src/mermaid.ts @@ -392,7 +392,7 @@ const render = (id: string, text: string, container?: Element): Promise