-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Web3 shh typings #2128
Web3 shh typings #2128
Conversation
@@ -63,7 +63,7 @@ Returns | |||
------- | |||
|
|||
|
|||
``String`` - The version of the current whisper running. | |||
``Promise`` returns ``String`` - The version of the current whisper running. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like this syntax more: Promise<String>
🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would as well but the web3-eth describes it like this so i wanted to keep it consistent
https://web3js.readthedocs.io/en/1.0/web3-eth.html#getcoinbase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay then I'll change that later everywhere :)
web3-shh full typing's.
All typing's have been written, i have brought
web3-core
into the dependencies as it was a child dependency anyway, as was brought it by other packages so this is not a breaking change. This should of really been a parent dependency from the start.Cheers