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 dart:js_interop interfaces containing type parameters expect that the type parameters extend JSAny. However, JSVoid does not extend JSAny, as it is just a typedef for void.
When IDL code is generated, this causes types in WebIDL like Promise<void> to become JSPromise<JSVoid>, which is not correct.
We should rather generate JSPromise as is, without the void type parameter where possible.