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

Function getDefaultCompilerOptions

test/fixtures/snapshot/typescript.js:41847–41852  ·  view source on GitHub ↗
(configFileName)

Source from the content-addressed store, hash-verified

41845 }
41846 ts.convertTypeAcquisitionFromJson = convertTypeAcquisitionFromJson;
41847 function getDefaultCompilerOptions(configFileName) {
41848 var options = configFileName && ts.getBaseFileName(configFileName) === "jsconfig.json"
41849 ? { allowJs: true, maxNodeModuleJsDepth: 2, allowSyntheticDefaultImports: true, skipLibCheck: true, noEmit: true }
41850 : {};
41851 return options;
41852 }
41853 function convertCompilerOptionsFromJsonWorker(jsonOptions, basePath, errors, configFileName) {
41854 var options = getDefaultCompilerOptions(configFileName);
41855 convertOptionsFromJson(getCommandLineCompilerOptionsMap(), jsonOptions, basePath, options, ts.compilerOptionsDidYouMeanDiagnostics, errors);

Callers 3

synchronizeHostDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected