diff --git a/packages/mermaid/src/diagram-api/types.ts b/packages/mermaid/src/diagram-api/types.ts index c757b9642f..265af65874 100644 --- a/packages/mermaid/src/diagram-api/types.ts +++ b/packages/mermaid/src/diagram-api/types.ts @@ -52,14 +52,6 @@ export interface ExternalDiagramDefinition { loader: DiagramLoader; } -export interface ParseDirectiveDefinition { - (statement: string, context: string, type: string): void; -} - -export interface DrawDefinition { - (txt: string, id: string, _version: string, diagObj: Diagram): void; -} - export type DiagramDetector = (text: string, config?: MermaidConfig) => boolean; export type DiagramLoader = () => Promise<{ id: string; diagram: DiagramDefinition }>; diff --git a/packages/mermaid/src/diagrams/pie/pieRenderer.ts b/packages/mermaid/src/diagrams/pie/pieRenderer.ts index c840d2fd1e..623d522502 100644 --- a/packages/mermaid/src/diagrams/pie/pieRenderer.ts +++ b/packages/mermaid/src/diagrams/pie/pieRenderer.ts @@ -1,5 +1,5 @@ /** Created by AshishJ on 11-09-2019. */ -// @ts-ignore: TODO Fix ts errors +// @ts-nocheck - TODO Fix ts errors import { select, scaleOrdinal, pie as d3pie, arc } from 'd3'; import { log } from '../../logger.js'; import { configureSvgSize } from '../../setupGraphViewbox.js';