You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Hi, I’ve noticed that some types returned by methods aren’t exported as types, such as Web3Account or Signature (ReturnType<typeof account.sign>). This makes it more difficult to structure larger TypeScript codebases effectively. Please see the example below:
// this is not possibleimport{Signature,Web3Account}from"web3"functionprocessSignature(signature: Signature){// Do something with the signature}functionprepareAndSignTransaction(account: Web3Account,to: Address){// Prepare the transaction}