-
Notifications
You must be signed in to change notification settings - Fork 4.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
Mistake a typing of EthereumProvider.send #2329
Labels
Types
Incorrect or missing types
Comments
odanado
changed the title
Mistake typing of EthereumProvider
Mistake a typing of EthereumProvider.send
Feb 5, 2019
14 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
The following code is valid.
Because the interface of
send
conforms to EIP-1193.Actual behavior
But I got an error when running
tsc --noEmit
command.Steps to reproduce the behavior
index.ts
tsconfig.json
command
Error Logs
Versions
The text was updated successfully, but these errors were encountered: