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

Function needJsx

test/fixtures/snapshot/typescript.js:119503–119505  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119501 return needResolveJsonModule();
119502 }
119503 function needJsx() {
119504 return options.jsx ? undefined : ts.Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set;
119505 }
119506 function needAllowJs() {
119507 return ts.getAllowJSCompilerOption(options) || !ts.getStrictOptionValue(options, "noImplicitAny") ? undefined : ts.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type;
119508 }

Callers 1

getResolutionDiagnosticFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…