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

error: debug failure. false expression #807

Closed peter-resmed closed 1 year ago

peter-resmed commented 1 year ago

Current behavior

Gets error: debug failure. false expression and the type errors are not caught in runtime

Expected behavior

No error and type errors should be caught

Steps to reproduce the issue

npm run dev

Issue reproduction repository

https://stackblitz.com/edit/webpack-webpack-js-org-sdj2xg?file=package.json

Environment

peter-resmed commented 1 year ago

works fine until typescript 4.9.5

christiango commented 1 year ago

Is it possible this error is in ts-loader and not fork-ts-checker in your case? I'm seeing the same thing over there: https://github.com/TypeStrong/ts-loader/issues/1604

peter-resmed commented 1 year ago

I don't think so. I am not using ts-loader in my project.