xf00f / web3x

Ethereum TypeScript Client Library - for perfect types and tiny builds.
211 stars 27 forks source link

Import declaration conflicts with local declaration of 'Arrayish'. #68

Closed ondratra closed 4 years ago

ondratra commented 4 years ago

When building the web3x package v4.0.5 with Typescript >= 3.7 following error occurs:

node_modules/web3x/ethers/bytes.d.ts(5,10): Error TS2440: Import declaration conflicts with local declaration of 'Arrayish'.

I am not exactly sure what is connection between the code in web3x/src/ethers/bytes.ts and ether.js project, but they were solving exactly the same error in https://github.com/ethers-io/ethers.js/issues/622.

xf00f commented 4 years ago

Should be fixed in v4.0.6