TypeStrong / fork-ts-checker-webpack-plugin

Webpack plugin that runs typescript type checker on a separate process.
MIT License
1.93k stars 238 forks source link

Solution Builder should set reportDiagnostic on build mode #804

Open pilaoda opened 1 year ago

pilaoda commented 1 year ago

Current behavior

Error code: 5055 "Cannot write file 'xxx' because it would overwrite input file." won't be report.

Expected behavior

Error code: 5055 should be report

some report function should set here to report this error. https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/blob/83cbefbfa7960d6ff5701d61e22307c52a7a2604/src/typescript/worker/lib/program/solution-builder.ts#L42

Steps to reproduce the issue

Environment