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
{{ message }}
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.
declare interface XType {
a: string;
b: number;
c(): boolean;
}
declare type X = {
prototype: XType,
new(a: string, b: number): XType
}
declare type Y = X;
declare var Y: Y;
In this case we should emit a class declaration of Y with the members of XType and the constructor of X:
@JS()
class Y {
// @Ignore
Y.fakeConstructor$();
external String get a;
external set a(String v);
external num get b;
external set b(num v);
external bool c();
external factory Y(String a, num b);
}`);
The text was updated successfully, but these errors were encountered:
In this case we should emit a class declaration of Y with the members of XType and the constructor of X:
The text was updated successfully, but these errors were encountered: