Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Web3 core types #2114

Merged
merged 16 commits into from
Dec 11, 2018
Merged

Web3 core types #2114

merged 16 commits into from
Dec 11, 2018

Conversation

joshstevens19
Copy link
Contributor

@joshstevens19 joshstevens19 commented Dec 9, 2018

Created web3-core types

@nivida if you can confirm what the types are for any of the any types that would be great (if they can be strongly typed).

This was the main one i would like to sort..

// not sure what net type is meant to be
setProvider(provider: provider | string, net: any): boolean;

Also due to web3-core using web3-core-methods even though web3-core is not dependant on web3-core-methods, makes it super hard to write any types for those. I have left them as any for now as we can't really do much until we sort the dependency issue out.

cheers 👍

@joshstevens19
Copy link
Contributor Author

@nivida addressed all comments please look again

@joshstevens19
Copy link
Contributor Author

@nivida can you merge now?

@nivida nivida merged commit f3b9f9b into web3:ethereumProvider Dec 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants