MCPcopy Create free account
hub / github.com/nodejs/node / getDefaultTypeAcquisition

Function getDefaultTypeAcquisition

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

Source from the content-addressed store, hash-verified

41859 return options;
41860 }
41861 function getDefaultTypeAcquisition(configFileName) {
41862 return { enable: !!configFileName && ts.getBaseFileName(configFileName) === "jsconfig.json", include: [], exclude: [] };
41863 }
41864 function convertTypeAcquisitionFromJsonWorker(jsonOptions, basePath, errors, configFileName) {
41865 var options = getDefaultTypeAcquisition(configFileName);
41866 var typeAcquisition = convertEnableAutoDiscoveryToEnable(jsonOptions);

Calls

no outgoing calls

Tested by

no test coverage detected