-
-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix transpileOnly usage with fork-ts-checker #1173
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand your edit here I'm afraid; setting transpileOnly: true
is a ts-loader
option only and should have no effect upon the behaviour of the fork-ts-checker-webpack-plugin
.
hey @johnnyreilly,
this is also what I don't get and in my prior apps I assumed exactly what you write. But when I was benchmarking I found that type checking was turned off if you have both |
just tested again and added a type error to one of the 1,000 functions:
CASE A
|
This seems significant. Do you want to repeat your test in a non-project references context. I suspect that's what's causing your issue. |
I did already in Edit2 and in this probably related thread: #1158 (comment) |
Ok then this pull is obsolete and it's something different, closing |
docs are wrong:
transpileOnly: true
paired with fork-ts-checker together turns off type-checking entirely; just fork-ts-checker is sufficient