MCPcopy Create free account
hub / github.com/nodejs/node / isPathWithDefaultFailedLookupExtension

Function isPathWithDefaultFailedLookupExtension

test/fixtures/snapshot/typescript.js:121592–121594  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

121590 return canWatchDirectory(dirPath) ? { dir: subDirectory || dir, dirPath: subDirectoryPath || dirPath, nonRecursive: nonRecursive } : undefined;
121591 }
121592 function isPathWithDefaultFailedLookupExtension(path) {
121593 return ts.fileExtensionIsOneOf(path, failedLookupDefaultExtensions);
121594 }
121595 function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName) {
121596 if (resolution.refCount) {
121597 resolution.refCount++;

Calls

no outgoing calls

Tested by

no test coverage detected