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

Error expected when attempting to export members to a ts interface #23

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

Comments

@niloc132
Copy link
Member

Given

@TsInterface
public class Foo {
  @JsMethod
  public static Foo create() {
    return new Foo();
  }
}

There should be an error here instead of emitting invalid TS:

	export interface Foo {
		static create():Foo;
	} 
@niloc132 niloc132 added this to the 1.1 milestone 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