diff --git a/cSpell.json b/cSpell.json index 4419db4be..b545e882e 100644 --- a/cSpell.json +++ b/cSpell.json @@ -6,6 +6,7 @@ "customizability", "Gantt", "jison", + "mermaid", "mindmap", "Mindmaps", "mitigations", diff --git a/packages/mermaid/src/Diagram.ts b/packages/mermaid/src/Diagram.ts index d6c226cde..f0adf33a4 100644 --- a/packages/mermaid/src/Diagram.ts +++ b/packages/mermaid/src/Diagram.ts @@ -55,7 +55,7 @@ export class Diagram { } handleError(error: unknown, parseError?: ParseErrorFunction) { - // Is this the correct way to access mermiad's parseError() + // Is this the correct way to access mermaid's parseError() // method ? (or global.mermaid.parseError()) ? if (parseError === undefined) {