A issue in the
this.web3 = new Web3(window.web3.currentProvider);the web3.js has output and I type to the code of
window.web3.currentProvider is defined. But the terminal occurs issue like as fellow:
ERROR in src/app/app.service.ts(36,20): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
I import the web3.js like that :
enter preformatted text here