* Read tsconfig.json file * @param fileName The path to the config file
(fileName, readFile)
| 40805 | * @param fileName The path to the config file |
| 40806 | */ |
| 40807 | function readJsonConfigFile(fileName, readFile) { |
| 40808 | var textOrDiagnostic = tryReadFile(fileName, readFile); |
| 40809 | return ts.isString(textOrDiagnostic) ? ts.parseJsonText(fileName, textOrDiagnostic) : { fileName: fileName, parseDiagnostics: [textOrDiagnostic] }; |
| 40810 | } |
| 40811 | ts.readJsonConfigFile = readJsonConfigFile; |
| 40812 | /*@internal*/ |
| 40813 | function tryReadFile(fileName, readFile) { |
no test coverage detected