Type Script is not generating JavaScript in my Visual Studio Community edition 2015

前端 未结 6 1203
小蘑菇
小蘑菇 2020-12-10 13:39

I am using Visual Studio Community edition 2015 for development, I have added *.ts file to my project but its not automatically compiling.

6条回答
  •  感动是毒
    2020-12-10 13:56

    I know you say you added the .ts file but did you right-click and select 'include in project'. This will add it to the list of files that Visual Studio will check for TypeScript transpiling.

提交回复
热议问题