summaryrefslogtreecommitdiff
path: root/themes/blowfish/assets/lib/mermaid/diagram-api/comments.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'themes/blowfish/assets/lib/mermaid/diagram-api/comments.d.ts')
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagram-api/comments.d.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/themes/blowfish/assets/lib/mermaid/diagram-api/comments.d.ts b/themes/blowfish/assets/lib/mermaid/diagram-api/comments.d.ts
new file mode 100644
index 0000000..6fe5494
--- /dev/null
+++ b/themes/blowfish/assets/lib/mermaid/diagram-api/comments.d.ts
@@ -0,0 +1,6 @@
+/**
+ * Remove all lines starting with `%%` from the text that don't contain a `%%{`
+ * @param text - The text to remove comments from
+ * @returns cleaned text
+ */
+export declare const cleanupComments: (text: string) => string;