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

Function resolve

test/fixtures/typescript/ts/hook.ts:4–11  ·  view source on GitHub ↗
(specifier, context, nextResolve)

Source from the content-addressed store, hash-verified

2
3// Pass through
4export const resolve: ResolveHook = async function resolve(specifier, context, nextResolve) {
5 if(false){
6 // https://github.com/nodejs/node/issues/54645
7 // A bug in the typescript parsers swc causes
8 // the next line to not be parsed correctly
9 }
10 return nextResolve(specifier, context);
11};

Callers 5

user-logs.jsFile · 0.50
output.jsFile · 0.50
describe_it.jsFile · 0.50
fs-traversal.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected