* Removes semantic diagnostics for path and * returns true if there are no more semantic diagnostics from the old state
(state, path)
| 120378 | * returns true if there are no more semantic diagnostics from the old state |
| 120379 | */ |
| 120380 | function removeSemanticDiagnosticsOf(state, path) { |
| 120381 | if (!state.semanticDiagnosticsFromOldState) { |
| 120382 | return true; |
| 120383 | } |
| 120384 | state.semanticDiagnosticsFromOldState.delete(path); |
| 120385 | state.semanticDiagnosticsPerFile.delete(path); |
| 120386 | return !state.semanticDiagnosticsFromOldState.size; |
| 120387 | } |
| 120388 | function isChangedSignature(state, path) { |
| 120389 | var newSignature = ts.Debug.checkDefined(state.currentAffectedFilesSignatures).get(path); |
| 120390 | var oldSignature = ts.Debug.checkDefined(state.fileInfos.get(path)).signature; |
no test coverage detected