* Convert the json syntax tree into the json value
(sourceFile, errors)
| 40955 | * Convert the json syntax tree into the json value |
| 40956 | */ |
| 40957 | function convertToObject(sourceFile, errors) { |
| 40958 | var _a; |
| 40959 | return convertToObjectWorker(sourceFile, (_a = sourceFile.statements[0]) === null || _a === void 0 ? void 0 : _a.expression, errors, /*returnValue*/ true, /*knownRootOptions*/ undefined, /*jsonConversionNotifier*/ undefined); |
| 40960 | } |
| 40961 | ts.convertToObject = convertToObject; |
| 40962 | /** |
| 40963 | * Convert the json syntax tree into the json value and report errors |
no test coverage detected