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

Function isSourceFileFromLibrary

test/fixtures/snapshot/typescript.js:154828–154830  ·  view source on GitHub ↗
(program, node)

Source from the content-addressed store, hash-verified

154826 return undefined;
154827 }
154828 function isSourceFileFromLibrary(program, node) {
154829 return program.isSourceFileFromExternalLibrary(node) || program.isSourceFileDefaultLibrary(node);
154830 }
154831 function getActionsForMissingMemberDeclaration(context, info) {
154832 return info.isJSFile ? ts.singleElementArray(createActionForAddMissingMemberInJavascriptFile(context, info)) :
154833 createActionsForAddMissingMemberInTypeScriptFile(context, info);

Callers 1

getInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected