File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
- import type { Pie } from 'mermaid-parser' ;
1
+ import type { Pie , PieSection } from 'mermaid-parser' ;
2
2
import { parse } from 'mermaid-parser' ;
3
3
4
4
import { log } from '../../logger.js' ;
5
5
import type { ParserDefinition } from '../../diagram-api/types.js' ;
6
6
import { populateCommonDb } from '../common/populateCommonDb.js' ;
7
7
import type { PieDB } from './pieTypes.js' ;
8
8
import { db } from './pieDb.js' ;
9
- import { PieSection } from 'mermaid-parser/src/index.js' ;
10
9
11
10
function populateDb ( ast : Pie , db : PieDB ) {
12
11
populateCommonDb ( ast , db ) ;
Original file line number Diff line number Diff line change 12
12
"type" : " module" ,
13
13
"exports" : {
14
14
"." : {
15
- "import" : " ./dist/mermaid-parser.esm .mjs" ,
15
+ "import" : " ./dist/mermaid-parser.core .mjs" ,
16
16
"types" : " ./dist/src/index.d.ts"
17
17
}
18
18
},
You can’t perform that action at this time.
0 commit comments