Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Type Annotation on ClassParameter not preserved in AST #190

Closed
Pajn opened this issue Mar 18, 2017 · 0 comments
Closed

Type Annotation on ClassParameter not preserved in AST #190

Pajn opened this issue Mar 18, 2017 · 0 comments
Labels

Comments

@Pajn
Copy link
Contributor

Pajn commented Mar 18, 2017

For example in this code

class Foo {
  private bar : string;
  public static baz : number;
  public getBar () {
    return this.bar;
  }
  protected setBar (bar : string) {
    this.bar = bar;
  }
}

the string and number information is lost

Pajn added a commit to Pajn/typescript-eslint-parser that referenced this issue Mar 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants