File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 43
43
"mdast-util-from-markdown" : " ^1.0.0" ,
44
44
"mdast-util-to-markdown" : " ^1.0.0" ,
45
45
"prettier" : " ^2.0.0" ,
46
- "remark-cli" : " ^9 .0.0" ,
47
- "remark-preset-wooorm" : " ^8 .0.0" ,
46
+ "remark-cli" : " ^10 .0.0" ,
47
+ "remark-preset-wooorm" : " ^9 .0.0" ,
48
48
"rimraf" : " ^3.0.0" ,
49
49
"tape" : " ^5.0.0" ,
50
50
"type-coverage" : " ^2.0.0" ,
51
51
"typescript" : " ^4.0.0" ,
52
52
"unist-util-remove-position" : " ^4.0.0" ,
53
- "xo" : " ^0.42 .0"
53
+ "xo" : " ^0.45 .0"
54
54
},
55
55
"scripts" : {
56
56
"build" : " rimraf \" {index,test}.d.ts\" && tsc && type-coverage" ,
Original file line number Diff line number Diff line change 1
1
import { Literal } from 'mdast'
2
2
3
- interface TOML extends Literal {
3
+ interface Toml extends Literal {
4
4
type : 'toml'
5
5
}
6
6
7
- interface JSON extends Literal {
7
+ interface Json extends Literal {
8
8
type : 'json'
9
9
}
10
10
@@ -13,10 +13,9 @@ interface Custom extends Literal {
13
13
}
14
14
15
15
declare module 'mdast' {
16
- // To do: this should be `FrontmatterMap`, which doesn’t exist yet.
17
- interface BlockContentMap {
18
- toml : TOML
16
+ interface FrontmatterContentMap {
17
+ toml : Toml
19
18
custom : Custom
20
- json : JSON
19
+ json : Json
21
20
}
22
21
}
You can’t perform that action at this time.
0 commit comments