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
The solution is to treat Providers and Signers differently in the code, probably from some sort of disjoint union type. Unfortunately this may require some refactoring.
The text was updated successfully, but these errors were encountered:
Using tsconfig
strict
gives an error with theProvider
type. I had to implement the following to silence the error:The solution is to treat Providers and Signers differently in the code, probably from some sort of disjoint union type. Unfortunately this may require some refactoring.
The text was updated successfully, but these errors were encountered: