You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create a class file and add a property
get "[js] 'property declarations' can only be used in a .ts file." with the property code highlighted.
I am attempting to use code to do react coding and using the property functions keep me from littering my code with myfunc = myfunc.bind(this); unless I actually need to rebind something. It is more an annoying visual thing to have a lot of code underlined than anything else, but it would seem to be something you should allow in js/jsx files.
From @jefflindholm on June 15, 2016 12:33
windows 10
Steps to Reproduce:
get "[js] 'property declarations' can only be used in a .ts file." with the property code highlighted.
I am attempting to use code to do react coding and using the property functions keep me from littering my code with myfunc = myfunc.bind(this); unless I actually need to rebind something. It is more an annoying visual thing to have a lot of code underlined than anything else, but it would seem to be something you should allow in js/jsx files.
Copied from original issue: microsoft/vscode#7718
The text was updated successfully, but these errors were encountered: