Skip to content

Commit

Permalink
Update Diagram.ts
Browse files Browse the repository at this point in the history
Fix nonstandard syntax (import type)
  • Loading branch information
mikeguo99 authored Jan 7, 2023
1 parent 774512d commit 2c97164
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/mermaid/src/Diagram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { log } from './logger';
import { getDiagram, registerDiagram } from './diagram-api/diagramAPI';
import { detectType, getDiagramLoader } from './diagram-api/detectType';
import { extractFrontMatter } from './diagram-api/frontmatter';
import { isDetailedError, type DetailedError } from './utils';
import { isDetailedError } from './utils';
import type { DetailedError } from './utils';

export type ParseErrorFunction = (err: string | DetailedError, hash?: any) => void;

Expand Down

0 comments on commit 2c97164

Please sign in to comment.