Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TsInterface should correctly export non-annotated public members of a JsType #22

Open
niloc132 opened this issue Feb 13, 2023 · 0 comments
Milestone

Comments

@niloc132
Copy link
Member

@TsInterface
@JsType(namespace = "dh")//TODO instead make a factory method?
public class Foo {
    @JsIgnore// correctly ignored
    public BigIntegerWrapper(String value) {

    }

    // public, so should be exported
    public String asString() {
        return "blah";
    }
}

results in

export interface Foo {	}

instead of including non-static members

@niloc132 niloc132 modified the milestones: 1.0.0, 1.1 Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant