Anonymous Dev
Anonymous Dev
Following the example with extension types, I can now no longer implement my own interface. ```extension type JavascriptXHROptions._(JSObject _) implements JSObject, XHROptions``` Which will give me an error saying XHROptions...
XHROptions is my own custom abstract class that serves as an interface only. ``` abstract class XHROptions { XHROptions({ required String method, required Map headers, required bool withCredentials, }); String...
Thanks for the example. The irony, the very thing extension types would solve is the very thing they can't solve in a way. IMO most people would never couple their...
In most cases we don't need to have non-external members on a JS class. Also wouldn't you be able to write extensions for the package:js classes, it seems to work...