mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-10 18:04:18 -05:00
Dropping assert for 3.7
This commit is contained in:
@@ -1560,7 +1560,6 @@ namespace ts {
|
||||
}
|
||||
|
||||
function getDiagnosticsProducingTypeChecker() {
|
||||
Debug.assert(!options.listFilesOnly || !!options.extendedDiagnostics);
|
||||
return diagnosticsProducingTypeChecker || (diagnosticsProducingTypeChecker = createTypeChecker(program, /*produceDiagnostics:*/ true));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user