Skip to content

Commit

Permalink
resolve ts error when merging from develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Yokozuna59 committed Jun 21, 2023
1 parent 794d4cb commit 058b08d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions packages/mermaid/src/diagram-api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }>;

Expand Down
2 changes: 1 addition & 1 deletion packages/mermaid/src/diagrams/pie/pieRenderer.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 058b08d

Please sign in to comment.