MCPcopy Index your code
hub / github.com/nodejs/node / removeIgnoredPackageId

Function removeIgnoredPackageId

test/fixtures/snapshot/typescript.js:42353–42358  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

42351 return withPackageId(/*packageInfo*/ undefined, r);
42352 }
42353 function removeIgnoredPackageId(r) {
42354 if (r) {
42355 ts.Debug.assert(r.packageId === undefined);
42356 return { path: r.path, ext: r.extension };
42357 }
42358 }
42359 /**
42360 * Kinds of file that we are currently looking for.
42361 * Typically there is one pass with Extensions.TypeScript, then a second pass with Extensions.JavaScript.

Callers 1

Calls 1

assertMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…