-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Property definition alignment with es6 in class constructor #6549
Comments
duplicate of #766 |
See also #4955. |
Ok you learn me something every time :-) When I try this code from #4955:
I get the error: property 'size' does not exist on type 'Alpha'. Am I missing a tsconfig option ? |
We haven't released that functionality just yet. I'm not sure if there's an easy way to enable it right now to experiment. @zhengbli might have a better idea. |
@Alphapage are you using the latest version of typescript compiler? I tested using |
Sorry, nothing changes in js and in ts too, I get same errors. No typings and property declaration is needed! |
I tried with Version 1.8.0-dev.20160122 without success. I will open a clean issue to report the problem:#6565 |
Hello,
I didn't find a previous discussion about this subject.
Here is the code:
Do you plan to support such a feature ? I mean this._test3,this.test4 and this.test5
Are you working on this.test2 to add better intellisense for both ts and js (this.test2 shows any in vscode) ?
Thanks in advance for your answers.
The text was updated successfully, but these errors were encountered: