Skip to content

Commit 146364a

Browse files
committed
chore: Fix imports
1 parent 258dbf3 commit 146364a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/mermaid/src/diagrams/pie/pieParser.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
import type { Pie } from 'mermaid-parser';
1+
import type { Pie, PieSection } from 'mermaid-parser';
22
import { parse } from 'mermaid-parser';
33

44
import { log } from '../../logger.js';
55
import type { ParserDefinition } from '../../diagram-api/types.js';
66
import { populateCommonDb } from '../common/populateCommonDb.js';
77
import type { PieDB } from './pieTypes.js';
88
import { db } from './pieDb.js';
9-
import { PieSection } from 'mermaid-parser/src/index.js';
109

1110
function populateDb(ast: Pie, db: PieDB) {
1211
populateCommonDb(ast, db);

packages/parser/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"type": "module",
1313
"exports": {
1414
".": {
15-
"import": "./dist/mermaid-parser.esm.mjs",
15+
"import": "./dist/mermaid-parser.core.mjs",
1616
"types": "./dist/src/index.d.ts"
1717
}
1818
},

0 commit comments

Comments
 (0)