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

Static definitions should "intersect" with "this.constructor" #6431

Closed
tinganho opened this issue Jan 10, 2016 · 2 comments
Closed

Static definitions should "intersect" with "this.constructor" #6431

tinganho opened this issue Jan 10, 2016 · 2 comments

Comments

@tinganho
Copy link
Contributor

I think static definitions should intersect with the this.constructor?

class A {
     static a: string;
     constructor() {
          this.constructor.a// error
     }
}
@kitsonk
Copy link
Contributor

kitsonk commented Jan 10, 2016

Dupe of #3841

@tinganho
Copy link
Contributor Author

yes I think so.

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants