-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Is there any plans for @ethersproject/units to support TS 4.1.x #1288
Comments
I’m working on v6 right now which uses the latest greatest TS. I don’t mind bumping the version up for v5 too though. I just need to communicate it because TS does make changes like this that can break people... I’m surprised I haven’t ran into the above problem myself... |
I'm running into this problem right now with typescript 4.1.5 |
I have put up a tweet seeking community feedback. If I haven't heard any compelling reasons by next week, I will bump the version and re-publish. Any feedback is welcome! Thanks! :) |
Hi, are you thinking of a specific date for bumping to typescript 4.2.2? |
Probably this weekend. I’ve given notice on Twitter and been using |
Can you try out 5.0.32 and let me know how it works for you? It is using TypeScript 4.2.2. |
I bumped both "ethers": "^5.0.32" and "typescript": "^4.2.2". When I run
Ideas? |
Sounds like you have strict null checking enabled on libraries? V5 doesn’t support strict bull checking. There is an option on the tsconfig to disable checking libraries for strict... |
I updated these 2 parameters in my tsconfig.json and it works fine now:
Thanks @ricmoo! |
We're currently trying to use
@ethersproject/units
(5.0.10) inside a react project which is built using a new version of TS:currently, when trying to compile, we get the following type error from tsc:
I've noticed that typescript 3.x is listed as a dev dependency for this repo:
Just wondering if anyone else slammed into this?
If not, are there any plans to support newer TS installations?
The text was updated successfully, but these errors were encountered: