File tree 3 files changed +25
-23
lines changed
3 files changed +25
-23
lines changed Original file line number Diff line number Diff line change 1
- /**
2
- * @typedef {import('mdast').PhrasingContent } PhrasingContent
3
- * @typedef {import('unist-util-is').AssertPredicate<PhrasingContent> } AssertPredicatePhrasing
4
- */
5
-
6
- import { convert } from 'unist-util-is'
7
-
8
- export const phrasing = /** @type {AssertPredicatePhrasing } */ (
9
- convert ( [
10
- 'break' ,
11
- 'delete' ,
12
- 'emphasis' ,
13
- 'footnote' ,
14
- 'footnoteReference' ,
15
- 'image' ,
16
- 'imageReference' ,
17
- 'inlineCode' ,
18
- 'link' ,
19
- 'linkReference' ,
20
- 'strong' ,
21
- 'text'
22
- ] )
23
- )
1
+ export { phrasing } from './lib/index.js'
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @typedef {import('mdast').PhrasingContent } PhrasingContent
3
+ * @typedef {import('unist-util-is').AssertPredicate<PhrasingContent> } AssertPredicatePhrasing
4
+ */
5
+
6
+ import { convert } from 'unist-util-is'
7
+
8
+ export const phrasing = /** @type {AssertPredicatePhrasing } */ (
9
+ convert ( [
10
+ 'break' ,
11
+ 'delete' ,
12
+ 'emphasis' ,
13
+ 'footnote' ,
14
+ 'footnoteReference' ,
15
+ 'image' ,
16
+ 'imageReference' ,
17
+ 'inlineCode' ,
18
+ 'link' ,
19
+ 'linkReference' ,
20
+ 'strong' ,
21
+ 'text'
22
+ ] )
23
+ )
Original file line number Diff line number Diff line change 28
28
"main" : " index.js" ,
29
29
"types" : " index.d.ts" ,
30
30
"files" : [
31
+ " lib/" ,
31
32
" index.d.ts" ,
32
33
" index.js"
33
34
],
You can’t perform that action at this time.
0 commit comments