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
Adding an arrow function to a TS class breaks the VSCode theme. Compare this screenshot:
To this one, after changing the Test function to an arrow function:
I've tested this in both the Dark default and Light default theme, bug is present in both themes. It's also present in both .ts and .tsx files. I'm using VSCode version 0.10.10.
Steps to reproduce:
Create a new TS file and give it a class.
Add two normal functions to that class (i.e. public SomeMethod() { } public OtherMethod() { } ).
Change the first function to an arrow function ( public SomeMethod = () => { } ).
Theme colors on all functions below SomeMethod are now broken.
The text was updated successfully, but these errors were encountered:
nozzlegear
changed the title
TS arrow functions in classes break the theme.
TS arrow functions in classes break theme coloring.
Mar 9, 2016
Adding an arrow function to a TS class breaks the VSCode theme. Compare this screenshot:
To this one, after changing the
Test
function to an arrow function:I've tested this in both the Dark default and Light default theme, bug is present in both themes. It's also present in both .ts and .tsx files. I'm using VSCode version 0.10.10.
Steps to reproduce:
public SomeMethod() { } public OtherMethod() { }
).public SomeMethod = () => { }
).SomeMethod
are now broken.The text was updated successfully, but these errors were encountered: