(
configFileName: string,
optionsToExtend?: CompilerOptions,
writeFile?: ts.WriteFileCallback
)
| 27 | } |
| 28 | |
| 29 | export function transpileProject( |
| 30 | configFileName: string, |
| 31 | optionsToExtend?: CompilerOptions, |
| 32 | writeFile?: ts.WriteFileCallback |
| 33 | ): EmitResult { |
| 34 | const parseResult = parseConfigFileWithSystem(configFileName, optionsToExtend); |
| 35 | if (parseResult.errors.length > 0) { |
| 36 | return { diagnostics: parseResult.errors, emitSkipped: true }; |
| 37 | } |
| 38 | |
| 39 | return transpileFiles(parseResult.fileNames, parseResult.options, writeFile); |
| 40 | } |
| 41 | |
| 42 | const libCache: { [key: string]: ts.SourceFile } = {}; |
| 43 |
no test coverage detected