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

Function shouldReportNoInputFiles

test/fixtures/snapshot/typescript.js:41616–41618  ·  view source on GitHub ↗
(fileNames, canJsonReportNoInutFiles, resolutionStack)

Source from the content-addressed store, hash-verified

41614 return ts.createCompilerDiagnostic(ts.Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2, configFileName || "tsconfig.json", JSON.stringify(includeSpecs || []), JSON.stringify(excludeSpecs || []));
41615 }
41616 function shouldReportNoInputFiles(fileNames, canJsonReportNoInutFiles, resolutionStack) {
41617 return fileNames.length === 0 && canJsonReportNoInutFiles && (!resolutionStack || resolutionStack.length === 0);
41618 }
41619 /*@internal*/
41620 function canJsonReportNoInputFiles(raw) {
41621 return !ts.hasProperty(raw, "files") && !ts.hasProperty(raw, "references");

Callers 2

getFileNamesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected