typescript compile error #3551
Unanswered
aminlatifi
asked this question in
Q&A
Replies: 1 comment 1 reply
-
In v5, strictNullCheck is not enabled, so null is always implied. You should ensure your build is not checking libraries against your own tsconfig, to get rid of this error (there is a tsconfig entry you enabled that is likely causing this, or you are not including node_modules in your search path). In v6, the library uses strictNullChecks, so this is no longer a problem. :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ethers Version
5.7.2
Search Terms
typescript type compile error
Describe the Problem
Typescript compile error on
"typescript": "^4.9.3",
Code Snippet
No response
Contract ABI
No response
Errors
No response
Environment
node.js (v12 or newer)
Environment (Other)
No response
Beta Was this translation helpful? Give feedback.
All reactions