utils
utils copied to clipboard
Add `Type` to `Keyring` as generic type parameter
This PR adds the Type extends string
generic type parameter to Keyring
, making it Keyring<Type, String>
. This will help to infer types coming from builders in KeyringController
. In that regard, this PR also adds a KeyringBuilder
type.
- Related to https://github.com/MetaMask/core/issues/4366