Let's see if 'new' changes anything.

This commit is contained in:
Daniel Rosenwasser 2022-08-08 21:34:07 +00:00
parent f671ea7574
commit e42cfaf14c

View File

@ -97,7 +97,7 @@ namespace ts {
type ForEachChildFunction = <T>(node: any, cbNode: (node: Node) => T | undefined, cbNodes?: (nodes: NodeArray<Node>) => T | undefined) => T | undefined;
const forEachChildTable = Array<ForEachChildFunction>(SyntaxKind.Count);
const forEachChildTable = new Array<ForEachChildFunction>(SyntaxKind.Count);
forEachChildTable[SyntaxKind.QualifiedName] = forEachQualifiedName;