Chrome dev utilities lose syntax highlighting for TypeScript

I'm not sure if there is a way around this, or maybe there is a problem when using mapped TypeScript files, but in many cases (large files) I seem to lose my syntax highlighting .. enter image description here

As you can see in the above image, this is normal until line 102 and then the rest of the file is red.

Above from the Ionic 2 / Angular 2 project.

It happens that after using the backtick string (but not always after using them)

This is not the end of the world, but the backlight makes reading easier. Does anyone else experience this and maybe know a job?

+4
source share
1 answer

, TS. , ( ) oldschool.

+2

Source: https://habr.com/ru/post/1671481/


All Articles