Skip to content

Commit e42cfaf

Browse files
Let's see if 'new' changes anything.
1 parent f671ea7 commit e42cfaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/parser.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ namespace ts {
9797

9898
type ForEachChildFunction = <T>(node: any, cbNode: (node: Node) => T | undefined, cbNodes?: (nodes: NodeArray<Node>) => T | undefined) => T | undefined;
9999

100-
const forEachChildTable = Array<ForEachChildFunction>(SyntaxKind.Count);
100+
const forEachChildTable = new Array<ForEachChildFunction>(SyntaxKind.Count);
101101

102102
forEachChildTable[SyntaxKind.QualifiedName] = forEachQualifiedName;
103103

0 commit comments

Comments
 (0)