File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 30
30
],
31
31
"sideEffects" : false ,
32
32
"type" : " module" ,
33
- "main" : " index.js" ,
34
- "types" : " index.d.ts" ,
33
+ "exports" : " ./index.js" ,
35
34
"files" : [
36
35
" lib/" ,
37
36
" index.d.ts" ,
Original file line number Diff line number Diff line change 1
1
/**
2
2
* @typedef {import('mdast').BlockContent } BlockContent
3
3
* @typedef {import('mdast').List } List
4
- * @typedef {import('../index.js ').Handle } Handle
4
+ * @typedef {import('mdast-util-to-markdown ').Handle } Handle
5
5
*/
6
6
7
7
import assert from 'node:assert/strict'
8
8
import test from 'node:test'
9
9
import { removePosition } from 'unist-util-remove-position'
10
10
import { fromMarkdown as from } from 'mdast-util-from-markdown'
11
- import { toMarkdown as to } from '../index.js '
11
+ import { toMarkdown as to } from 'mdast-util-to-markdown '
12
12
13
13
test ( 'core' , async function ( t ) {
14
14
await t . test ( 'should expose the public api' , async function ( ) {
You can’t perform that action at this time.
0 commit comments