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; - } - } }