Sublime Forum

Support for typescript syntax?

#1

This is as much a question as a suggestion for maybe adding syntax support for “typescript”.
I just discovered typescript which is a superset of javascript. Very slight differences but adds some additional variable typing and binding capabilities. A tried a sample applying javascript syntax and it looks ok but it was a very trivial example and I’m not sure what may happen if I try another with new keywords.Just a thought.

0 Likes

#2

Try the package maintained by Microsoft: https://packagecontrol.io/packages/TypeScript

1 Like

#3

If you want just the syntax install this instead https://packagecontrol.io/packages/TypeScript%20Syntax

0 Likes