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

Function createCompilerDiagnosticOnlyIfJson

test/fixtures/snapshot/typescript.js:41603–41607  ·  view source on GitHub ↗
(message, arg0, arg1)

Source from the content-addressed store, hash-verified

41601 return "no-prop";
41602 }
41603 function createCompilerDiagnosticOnlyIfJson(message, arg0, arg1) {
41604 if (!sourceFile) {
41605 errors.push(ts.createCompilerDiagnostic(message, arg0, arg1));
41606 }
41607 }
41608 }
41609 function isErrorNoInputFiles(error) {
41610 return error.code === ts.Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code;

Callers 3

getConfigFileSpecsFunction · 0.85
getProjectReferencesFunction · 0.85
getPropFromRawFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected