We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 126a43c commit 6cef89dCopy full SHA for 6cef89d
src/astVisitor.ts
@@ -68,7 +68,7 @@ export function visitNode(
68
}
69
70
if (result.kind === 'dir' || result.kind === 'rootType') {
71
- forEachKey(result.children, (childNode, name) => {
+ forEachKey(result.children, (childNode: AstDirNode | AstFileNode, name) => {
72
visitNode(childNode, visitor, {
73
parent: result as AstDirNode,
74
name,
0 commit comments