Why is my .ts file saved in MPEG2 TS format when I want it to be saved as typescript

I am new to development, currently working on Angular 2. I had a problem saving the .ts (typescript) file on my computer (Win 7). I executed the commands using npm:

>npm install typescript

but when I try to save a text file to a .ts file, it creates an MPEG 2 TS file. How to solve this problem. Please, help!

+4
source share
1 answer

It is not saved in MPEG-2 TS format. Windows simply interprets the .ts extension as MPEG-2 TS and displays a video file, such as an icon for your .ts file. You can ignore it.

+4
source

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


All Articles