Skip to content

Commit d377326

Browse files
committed
Update dev-dependencies
1 parent 24469d1 commit d377326

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@
4343
"mdast-util-from-markdown": "^1.0.0",
4444
"mdast-util-to-markdown": "^1.0.0",
4545
"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",
4848
"rimraf": "^3.0.0",
4949
"tape": "^5.0.0",
5050
"type-coverage": "^2.0.0",
5151
"typescript": "^4.0.0",
5252
"unist-util-remove-position": "^4.0.0",
53-
"xo": "^0.42.0"
53+
"xo": "^0.45.0"
5454
},
5555
"scripts": {
5656
"build": "rimraf \"{index,test}.d.ts\" && tsc && type-coverage",

test-types.d.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import {Literal} from 'mdast'
22

3-
interface TOML extends Literal {
3+
interface Toml extends Literal {
44
type: 'toml'
55
}
66

7-
interface JSON extends Literal {
7+
interface Json extends Literal {
88
type: 'json'
99
}
1010

@@ -13,10 +13,9 @@ interface Custom extends Literal {
1313
}
1414

1515
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
1918
custom: Custom
20-
json: JSON
19+
json: Json
2120
}
2221
}

0 commit comments

Comments
 (0)