For example the following java class
@TsInterface
@TsName(namespace = "dh")
public class HasEventHandling {
@JsProperty(namespace = "dh.Client")
public static final String EVENT_REQUEST_FAILED = "requestfailed";
}
will produce the following TS
export namespace dh {
export interface HasEventHandling {
get EVENT_REQUEST_FAILED():string;
}
}
we need to error out for TsInterface static members.
For example the following java class
will produce the following TS
we need to error out for TsInterface static members.