Skip to content

TsInterface should not have exported static members  #24

@vegegoku

Description

@vegegoku

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions