(resolution)
| 121834 | return invalidated; |
| 121835 | } |
| 121836 | function canInvalidateFailedLookupResolution(resolution) { |
| 121837 | return resolution.failedLookupLocations.some(function (location) { |
| 121838 | var locationPath = resolutionHost.toPath(location); |
| 121839 | return ts.contains(failedLookupChecks, locationPath) || |
| 121840 | ts.firstDefinedIterator((startsWithPathChecks === null || startsWithPathChecks === void 0 ? void 0 : startsWithPathChecks.keys()) || ts.emptyIterator, function (fileOrDirectoryPath) { return ts.startsWith(locationPath, fileOrDirectoryPath) ? true : undefined; }) || |
| 121841 | (isInDirectoryChecks === null || isInDirectoryChecks === void 0 ? void 0 : isInDirectoryChecks.some(function (fileOrDirectoryPath) { return isInDirectoryPath(fileOrDirectoryPath, locationPath); })); |
| 121842 | }); |
| 121843 | } |
| 121844 | function closeTypeRootsWatch() { |
| 121845 | ts.clearMap(typeRootsWatches, ts.closeFileWatcher); |
| 121846 | } |
nothing calls this directly
no test coverage detected