Skip to content

Commit

Permalink
Remove duplicate class 'NodeSet' (#24337)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy committed May 22, 2018
1 parent ba63f49 commit 56f33ad
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/services/codefixes/fixUnusedIdentifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,16 +347,4 @@ namespace ts.codefix {
}
}
}

class NodeSet {
private map = createMap<Node>();

add(node: Node): void {
this.map.set(String(getNodeId(node)), node);
}

some(pred: (node: Node) => boolean): boolean {
return forEachEntry(this.map, pred) || false;
}
}
}

0 comments on commit 56f33ad

Please sign in to comment.