Commit 47e5d118 authored by Kelvin Fichter's avatar Kelvin Fichter

fix: tighten ProviderLike SDK typings

ProviderLike is too loose because it allows "any" to be ProviderLike.
This tightens the type to only include strings or ethers.Provider
objects.
parent e53b5783
---
'@eth-optimism/sdk': patch
---
Tighten type restriction on ProviderLike
...@@ -269,7 +269,7 @@ export type MessageRequestLike = ...@@ -269,7 +269,7 @@ export type MessageRequestLike =
/** /**
* Stuff that can be coerced into a provider. * Stuff that can be coerced into a provider.
*/ */
export type ProviderLike = string | Provider | any export type ProviderLike = string | Provider
/** /**
* Stuff that can be coerced into a signer. * Stuff that can be coerced into a signer.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment