I'm using Typescript in VS2015, and the color syntax highlighting fells broken, especially on class types.
For example, when defining this module:
And using it:
The class name is long but colored.
But if I use an import statement to get a more usable class name, I get this:
That isn't very readable...
I am doing something wrong?
Not 100% sure, but I think it should be. The fact is that the type is declared using the keyword "import" statement, so the analyzer considers variable as module rather than as a class, and therefore no highlights it.
But if you use the keyword "type", the class name will be highlighted