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
Change the behaviour of the Typed constructor if another instance of Typed is passed as value
const address = ..... // any address|addresssable const type1 = Typed.address(address) // type1.value == address const type2 = Typed.address(type1) // type2.value == address const type3 = Typed.uint256(type1) // throws an error
The text was updated successfully, but these errors were encountered:
Hey @ricmoo, this is more of an suggestion considering the Typed.dereference is idempotent as well, let me know what you think about it,
Thanks
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the Feature
Change the behaviour of the Typed constructor if another instance of Typed is passed as value
Code Example
const address = ..... // any address|addresssable const type1 = Typed.address(address) // type1.value == address const type2 = Typed.address(type1) // type2.value == address const type3 = Typed.uint256(type1) // throws an error
The text was updated successfully, but these errors were encountered: