* Read tsconfig.json file * @param fileName The path to the config file
(fileName, readFile)
| 40783 | * @param fileName The path to the config file |
| 40784 | */ |
| 40785 | function readConfigFile(fileName, readFile) { |
| 40786 | var textOrDiagnostic = tryReadFile(fileName, readFile); |
| 40787 | return ts.isString(textOrDiagnostic) ? parseConfigFileTextToJson(fileName, textOrDiagnostic) : { config: {}, error: textOrDiagnostic }; |
| 40788 | } |
| 40789 | ts.readConfigFile = readConfigFile; |
| 40790 | /** |
| 40791 | * Parse the text of the tsconfig.json file |
nothing calls this directly
no test coverage detected