-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
skipLibCheck: true in tsconfig.json causes unexplainable tslint errors #135
Comments
I've never seen that and I'm using ts-lint. Is it linked to your tslint.json in any way perhaps? If you tweak it does the problem disappear? |
I'm having this problem as well. The only way to prevent it is to remove |
Same issue for me. Both with TypeScript 2.9.2 and 3.1.6. Both with tslint 5.11.0 and 5.5.0. There are no such messages with tslint 5.4.3, but this is probably due to palantir/tslint#2890 that went to 5.5.0, so, in fact, the errors may still be there in the older versions. Disabling |
Could you provide a minimal repro please? We still don't know what's actually causing this. I personally haven't seen this at all despite using |
Please see https://github.com/ddrozdov/fork-ts-checker-tslint-errors-135-repro
There are no issues with |
I have upgraded the typescript version from v2.9.2 to v3.3.3333 and the issue is been resolved. |
I get this problem when I upgrade TypeScript to 3.2+. 3.1 is fine. |
It seems to be a bug from TSC per se. Ref: microsoft/TypeScript#28810
|
It looks like this bug is not directly related to the fork-ts-checker-webpack-plugin :) |
Versions:
When I enable
skipLibCheck
, I get these seemingly random TypeErrors on build:There isn't anything wrong with these files, and the errors and files change when I change different bits of code. I don't get this issue if I do not enable tslint in the plugin options and use
tslint-loader
directly. Any ideas? :(The text was updated successfully, but these errors were encountered: