diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 9fa5ab5cb6d9d..4044e6ae1252f 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -21573,7 +21573,8 @@ namespace ts { function registerForUnusedIdentifiersCheck(node: Node) { if (deferredUnusedIdentifierNodes) { - Debug.assert(addToSeen(seenDeferredUnusedIdentifiers, getNodeId(node)), "Deferring unused identifier check twice"); + // TODO: GH#22580 + // Debug.assert(addToSeen(seenDeferredUnusedIdentifiers, getNodeId(node)), "Deferring unused identifier check twice"); deferredUnusedIdentifierNodes.push(node); } }