In chrome devtools, in all my tsx source files, syntax highlighting and intellisense no longer work In chrome devtools, in all my tsx source files, syntax highlighting and intellisense no longer work typescript typescript

In chrome devtools, in all my tsx source files, syntax highlighting and intellisense no longer work


Finally managed to solve this.

As described in this question, if you manually let your webserver return the right mime-type for tsx files, chrome will show them with colors and allows proper debugging again.

for me, For an Apache server I included this in httpd.conf

AddType application/javascript .tsx