We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import
web3
Docs mention user must import web3 using: import { web3 } from 'web3'; when currently the only supported syntax is import Web3 from 'web3';
import { web3 } from 'web3';
import Web3 from 'web3';
This line
The text was updated successfully, but these errors were encountered:
During the migration in truffle, I had to use the {} syntax, or I would get the TypeError: Web3 is not a constructor error. Please see my comment:
{}
TypeError: Web3 is not a constructor
trufflesuite/truffle#5393 (comment)
Sorry, something went wrong.
luu-alex
No branches or pull requests
Is there an existing issue for this?
What would you like to say about Web3.js' documentation?
Docs mention user must import
web3
using:import { web3 } from 'web3';
when currently the only supported syntax isimport Web3 from 'web3';
Examples/References
This line
The text was updated successfully, but these errors were encountered: