From 349f27eae5a70234bff1ea23aa3a7ccf10de0060 Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Tue, 22 May 2018 15:12:50 -0700 Subject: [PATCH] Remove duplicate class 'NodeSet' --- 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; - } - } }