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 assignment to etherProvider Results in the following TS Error:
Argument of type 'RelayProvider' is not assignable to parameter of type 'ExternalProvider | JsonRpcFetchFunc'.
Type 'RelayProvider' is not assignable to type 'ExternalProvider'.
Types of property 'send' are incompatible.
Type '(payload: JsonRpcPayload, callback: JsonRpcCallback) => void' is not assignable to type '(request: { method: string; params?: any[] | undefined; }, callback: (error: any, response: any) => void) => void'.
Types of parameters 'payload' and 'request' are incompatible.
Property 'jsonrpc' is missing in type '{ method: string; params?: any[] | undefined; }' but required in type 'JsonRpcPayload'.ts(2345)
Workaround: the provider can still be used if the typing error is ignored.
The text was updated successfully, but these errors were encountered:
A typing error is encountered when following the
gsn-with-ethers
test example and yarn installing the most up-to-date versions of the libraries:The assignment to
etherProvider
Results in the following TS Error:Workaround: the provider can still be used if the typing error is ignored.
The text was updated successfully, but these errors were encountered: