TypeStrong/fork-ts-checker-webpack-plugin

error: debug failure. false expression

peter-resmed opened this issue · 3 comments

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

  • fork-ts-checker-webpack-plugin: 8.0.0
  • typescript: 5.0.2
  • eslint: 8.36.0
  • webpack: 5.76.2
  • os: windows 10

works fine until typescript 4.9.5

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: TypeStrong/ts-loader#1604

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