Skip to content

Commit

Permalink
Update internals for changes in @types/mdast
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 23, 2021
1 parent dba04c5 commit adf9c0c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions lib/handlers/dl.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ export function dl(h, node) {
content.push({
type: 'listItem',
spread: result.length > 1,
// @ts-expect-error: `null` is fine.
checked: null,
children: result
})
Expand Down Expand Up @@ -117,7 +116,6 @@ function handle(h, children) {
{
type: 'list',
ordered: false,
// @ts-expect-error: `null` is fine.
start: null,
spread: listItemsSpread(nodes),
children: nodes
Expand Down
1 change: 0 additions & 1 deletion lib/util/wrap-list-items.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export function wrapListItems(h, node) {
children[index] = {
type: 'listItem',
spread: false,
// @ts-expect-error fine.
checked: null,
// @ts-expect-error Assume `children[index]` is block content.
children: [child]
Expand Down

0 comments on commit adf9c0c

Please sign in to comment.