Skip to content

Commit 6cef89d

Browse files
committed
build: fix typescript build error
1 parent 126a43c commit 6cef89d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/astVisitor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export function visitNode(
6868
}
6969

7070
if (result.kind === 'dir' || result.kind === 'rootType') {
71-
forEachKey(result.children, (childNode, name) => {
71+
forEachKey(result.children, (childNode: AstDirNode | AstFileNode, name) => {
7272
visitNode(childNode, visitor, {
7373
parent: result as AstDirNode,
7474
name,

0 commit comments

Comments
 (0)