ES6 has a shorthand syntax for defining methods on objects similar to that of a class.
The method declaration in
letx={hello(){lethello="world";}};should have the same highlighting as
classX{hello(){lethello="world";}}In the current TypeScript Sublime Text plugin, the method name in the first code sample is not highlighted:

(as a side note, GitHub has the same highlighting issue at present; do they use this repository?)
ES6 has a shorthand syntax for defining methods on objects similar to that of a class.
The method declaration in
should have the same highlighting as
In the current TypeScript Sublime Text plugin, the method name in the first code sample is not highlighted:

(as a side note, GitHub has the same highlighting issue at present; do they use this repository?)