-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
wrong declarations - Initializers are not allowed in ambient contexts. #188
Comments
Presumably this only impacts users who make use of the We won't be locking the plugin to a older version of TypeScript. If you'd like to submit a PR that remedies this in another way that would be great! |
Should be fixed by #189 hopefully. |
damn you were faster :) maybe next time I'll win this PR race ;) |
Published as https://github.com/Realytics/fork-ts-checker-webpack-plugin/releases/tag/v0.5.1 Though I'm guessing the |
I'm actually getting this same error. The docs say that typescript 2.1 is the minimum working version of Typescript, and I'm using 2.8. Is that accurate? |
Yes |
Any idea why I'd be seeing this error then? I'm unable to use this tool at all unless I upgrade to something like Typescript 3.1.1, but unfortunately that breaks some other stuff. I'd love to be able to use it. |
Do you need to write your |
Any updates on this issue? We are using the |
Sure! |
@maciejw , @oozliuoo |
due to error in typescript 3.1 microsoft/TypeScript#28230
there is an error in your d.ts files
when I fixed typescript version to 3.0.3 in your project, declarations are correct.
now in package.json you have ^3.0.1 and 3.1.6 in yarn.lock it has to be changes to 3.0.3
3.2.2 can't compile due to
The text was updated successfully, but these errors were encountered: