-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Invalid type assignment in SafeEventEmitterProvider #4608
Comments
In the above function, the type of We can try replacing I think, if we have to fix this, we need to align the JsonRpcRequest generic type with the type of params in JsonRpcRequest. Additional Reference:
which will expand to
cc: @Gudahtt |
Hmm, I'm not really following how those difference in types is resolved by this addition. How does adding |
It is something to do with |
Just seeing this issue now. I think this was my attempt to get something working with |
The
Record<never, never>
type assigned to response ofconvertEip1193RequestToJsonRpcRequest
does not belong here (link to the code), no possible return value is represented by that type.We need to fix/simplify the type assignment.
The text was updated successfully, but these errors were encountered: