Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Dec 9, 2022
1 parent a8b5a5f commit d5d8f6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const walkAst = async (
callback: (node: Node, parent: Node, index: number) => Awaitable<void>
) => {
const promises: Promise<void>[] = []
// @ts-expect-error
walk(node, {
enter(node: Node, parent: Node, key, index) {
if (!node.type) return
Expand Down

0 comments on commit d5d8f6e

Please sign in to comment.