Skip to content

Commit

Permalink
Update @types/mdast
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jul 7, 2023
1 parent 88817dd commit 8896c24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @typedef {import('mdast').Root|import('mdast').Content} Node
* @typedef {import('mdast').Nodes} Nodes
*
* @typedef Options
* Configuration (optional).
Expand Down Expand Up @@ -100,7 +100,7 @@ function all(values, includeImageAlt, includeHtml) {
*
* @param {unknown} value
* Thing.
* @returns {value is Node}
* @returns {value is Nodes}
* Whether `value` is a node.
*/
function node(value) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"index.js"
],
"dependencies": {
"@types/mdast": "^3.0.0"
"@types/mdast": "^4.0.0"
},
"devDependencies": {
"@types/node": "^20.0.0",
Expand Down

0 comments on commit 8896c24

Please sign in to comment.