From 56f33ad3bb75c13462647dc99d9cdfc64d576325 Mon Sep 17 00:00:00 2001 From: Andy Date: Tue, 22 May 2018 15:33:03 -0700 Subject: [PATCH] Remove duplicate class 'NodeSet' (#24337) --- src/services/codefixes/fixUnusedIdentifier.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/services/codefixes/fixUnusedIdentifier.ts b/src/services/codefixes/fixUnusedIdentifier.ts index dffcbac91ab65..e2ef6e9ec3c92 100644 --- a/src/services/codefixes/fixUnusedIdentifier.ts +++ b/src/services/codefixes/fixUnusedIdentifier.ts @@ -347,16 +347,4 @@ namespace ts.codefix { } } } - - class NodeSet { - private map = createMap(); - - add(node: Node): void { - this.map.set(String(getNodeId(node)), node); - } - - some(pred: (node: Node) => boolean): boolean { - return forEachEntry(this.map, pred) || false; - } - } }