Skip to content

Commit adf9c0c

Browse files
committed
Update internals for changes in @types/mdast
1 parent dba04c5 commit adf9c0c

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

lib/handlers/dl.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ export function dl(h, node) {
7979
content.push({
8080
type: 'listItem',
8181
spread: result.length > 1,
82-
// @ts-expect-error: `null` is fine.
8382
checked: null,
8483
children: result
8584
})
@@ -117,7 +116,6 @@ function handle(h, children) {
117116
{
118117
type: 'list',
119118
ordered: false,
120-
// @ts-expect-error: `null` is fine.
121119
start: null,
122120
spread: listItemsSpread(nodes),
123121
children: nodes

lib/util/wrap-list-items.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export function wrapListItems(h, node) {
2222
children[index] = {
2323
type: 'listItem',
2424
spread: false,
25-
// @ts-expect-error fine.
2625
checked: null,
2726
// @ts-expect-error Assume `children[index]` is block content.
2827
children: [child]

0 commit comments

Comments
 (0)