Skip to content

Commit 024a09b

Browse files
author
TypeScript Bot
committed
Update LKG
1 parent eeea32b commit 024a09b

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

lib/tsc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87712,7 +87712,7 @@ var ts;
8771287712
perDirectoryResolution.set(name, resolution);
8771387713
}
8771487714
resolutionsInFile.set(name, resolution);
87715-
watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, path, getResolutionWithResolvedFileName, noResolveResolution);
87715+
watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, path, getResolutionWithResolvedFileName);
8771687716
if (existingResolution) {
8771787717
stopWatchFailedLookupLocationOfResolution(existingResolution, path, getResolutionWithResolvedFileName);
8771887718
}
@@ -87835,14 +87835,14 @@ var ts;
8783587835
function isPathWithDefaultFailedLookupExtension(path) {
8783687836
return ts.fileExtensionIsOneOf(path, failedLookupDefaultExtensions);
8783787837
}
87838-
function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName, noResolveResolution) {
87838+
function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName) {
8783987839
if (resolution.refCount) {
8784087840
resolution.refCount++;
8784187841
ts.Debug.assertDefined(resolution.files);
8784287842
}
8784387843
else {
8784487844
resolution.refCount = 1;
87845-
ts.Debug.assert(resolution.files === undefined || (resolution === noResolveResolution && ts.length(noResolveResolution.files) === 0));
87845+
ts.Debug.assert(ts.length(resolution.files) === 0);
8784687846
if (ts.isExternalModuleNameRelative(name)) {
8784787847
watchFailedLookupLocationOfResolution(resolution);
8784887848
}

lib/tsserver.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106972,7 +106972,7 @@ var ts;
106972106972
perDirectoryResolution.set(name, resolution);
106973106973
}
106974106974
resolutionsInFile.set(name, resolution);
106975-
watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, path, getResolutionWithResolvedFileName, noResolveResolution);
106975+
watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, path, getResolutionWithResolvedFileName);
106976106976
if (existingResolution) {
106977106977
stopWatchFailedLookupLocationOfResolution(existingResolution, path, getResolutionWithResolvedFileName);
106978106978
}
@@ -107103,14 +107103,14 @@ var ts;
107103107103
function isPathWithDefaultFailedLookupExtension(path) {
107104107104
return ts.fileExtensionIsOneOf(path, failedLookupDefaultExtensions);
107105107105
}
107106-
function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName, noResolveResolution) {
107106+
function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName) {
107107107107
if (resolution.refCount) {
107108107108
resolution.refCount++;
107109107109
ts.Debug.assertDefined(resolution.files);
107110107110
}
107111107111
else {
107112107112
resolution.refCount = 1;
107113-
ts.Debug.assert(resolution.files === undefined || (resolution === noResolveResolution && ts.length(noResolveResolution.files) === 0));
107113+
ts.Debug.assert(ts.length(resolution.files) === 0); // This resolution shouldnt be referenced by any file yet
107114107114
if (ts.isExternalModuleNameRelative(name)) {
107115107115
watchFailedLookupLocationOfResolution(resolution);
107116107116
}

lib/tsserverlibrary.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107166,7 +107166,7 @@ var ts;
107166107166
perDirectoryResolution.set(name, resolution);
107167107167
}
107168107168
resolutionsInFile.set(name, resolution);
107169-
watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, path, getResolutionWithResolvedFileName, noResolveResolution);
107169+
watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, path, getResolutionWithResolvedFileName);
107170107170
if (existingResolution) {
107171107171
stopWatchFailedLookupLocationOfResolution(existingResolution, path, getResolutionWithResolvedFileName);
107172107172
}
@@ -107297,14 +107297,14 @@ var ts;
107297107297
function isPathWithDefaultFailedLookupExtension(path) {
107298107298
return ts.fileExtensionIsOneOf(path, failedLookupDefaultExtensions);
107299107299
}
107300-
function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName, noResolveResolution) {
107300+
function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName) {
107301107301
if (resolution.refCount) {
107302107302
resolution.refCount++;
107303107303
ts.Debug.assertDefined(resolution.files);
107304107304
}
107305107305
else {
107306107306
resolution.refCount = 1;
107307-
ts.Debug.assert(resolution.files === undefined || (resolution === noResolveResolution && ts.length(noResolveResolution.files) === 0));
107307+
ts.Debug.assert(ts.length(resolution.files) === 0); // This resolution shouldnt be referenced by any file yet
107308107308
if (ts.isExternalModuleNameRelative(name)) {
107309107309
watchFailedLookupLocationOfResolution(resolution);
107310107310
}

lib/typescript.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107166,7 +107166,7 @@ var ts;
107166107166
perDirectoryResolution.set(name, resolution);
107167107167
}
107168107168
resolutionsInFile.set(name, resolution);
107169-
watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, path, getResolutionWithResolvedFileName, noResolveResolution);
107169+
watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, path, getResolutionWithResolvedFileName);
107170107170
if (existingResolution) {
107171107171
stopWatchFailedLookupLocationOfResolution(existingResolution, path, getResolutionWithResolvedFileName);
107172107172
}
@@ -107297,14 +107297,14 @@ var ts;
107297107297
function isPathWithDefaultFailedLookupExtension(path) {
107298107298
return ts.fileExtensionIsOneOf(path, failedLookupDefaultExtensions);
107299107299
}
107300-
function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName, noResolveResolution) {
107300+
function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName) {
107301107301
if (resolution.refCount) {
107302107302
resolution.refCount++;
107303107303
ts.Debug.assertDefined(resolution.files);
107304107304
}
107305107305
else {
107306107306
resolution.refCount = 1;
107307-
ts.Debug.assert(resolution.files === undefined || (resolution === noResolveResolution && ts.length(noResolveResolution.files) === 0));
107307+
ts.Debug.assert(ts.length(resolution.files) === 0); // This resolution shouldnt be referenced by any file yet
107308107308
if (ts.isExternalModuleNameRelative(name)) {
107309107309
watchFailedLookupLocationOfResolution(resolution);
107310107310
}

lib/typescriptServices.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107166,7 +107166,7 @@ var ts;
107166107166
perDirectoryResolution.set(name, resolution);
107167107167
}
107168107168
resolutionsInFile.set(name, resolution);
107169-
watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, path, getResolutionWithResolvedFileName, noResolveResolution);
107169+
watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, path, getResolutionWithResolvedFileName);
107170107170
if (existingResolution) {
107171107171
stopWatchFailedLookupLocationOfResolution(existingResolution, path, getResolutionWithResolvedFileName);
107172107172
}
@@ -107297,14 +107297,14 @@ var ts;
107297107297
function isPathWithDefaultFailedLookupExtension(path) {
107298107298
return ts.fileExtensionIsOneOf(path, failedLookupDefaultExtensions);
107299107299
}
107300-
function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName, noResolveResolution) {
107300+
function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName) {
107301107301
if (resolution.refCount) {
107302107302
resolution.refCount++;
107303107303
ts.Debug.assertDefined(resolution.files);
107304107304
}
107305107305
else {
107306107306
resolution.refCount = 1;
107307-
ts.Debug.assert(resolution.files === undefined || (resolution === noResolveResolution && ts.length(noResolveResolution.files) === 0));
107307+
ts.Debug.assert(ts.length(resolution.files) === 0); // This resolution shouldnt be referenced by any file yet
107308107308
if (ts.isExternalModuleNameRelative(name)) {
107309107309
watchFailedLookupLocationOfResolution(resolution);
107310107310
}

lib/typingsInstaller.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106961,7 +106961,7 @@ var ts;
106961106961
perDirectoryResolution.set(name, resolution);
106962106962
}
106963106963
resolutionsInFile.set(name, resolution);
106964-
watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, path, getResolutionWithResolvedFileName, noResolveResolution);
106964+
watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, path, getResolutionWithResolvedFileName);
106965106965
if (existingResolution) {
106966106966
stopWatchFailedLookupLocationOfResolution(existingResolution, path, getResolutionWithResolvedFileName);
106967106967
}
@@ -107092,14 +107092,14 @@ var ts;
107092107092
function isPathWithDefaultFailedLookupExtension(path) {
107093107093
return ts.fileExtensionIsOneOf(path, failedLookupDefaultExtensions);
107094107094
}
107095-
function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName, noResolveResolution) {
107095+
function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName) {
107096107096
if (resolution.refCount) {
107097107097
resolution.refCount++;
107098107098
ts.Debug.assertDefined(resolution.files);
107099107099
}
107100107100
else {
107101107101
resolution.refCount = 1;
107102-
ts.Debug.assert(resolution.files === undefined || (resolution === noResolveResolution && ts.length(noResolveResolution.files) === 0));
107102+
ts.Debug.assert(ts.length(resolution.files) === 0); // This resolution shouldnt be referenced by any file yet
107103107103
if (ts.isExternalModuleNameRelative(name)) {
107104107104
watchFailedLookupLocationOfResolution(resolution);
107105107105
}

0 commit comments

Comments
 (0)