Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2017RC Typescript not generating javascript

In VS 2017 changes to a typescript file no longer result in any javascript being created, despite a message on the lower bar saying "outputs generated successfully".

I've tried on 2 machines with the same version of VS installed and using a simple test project with the same result

  • is this a bug?
  • has something changed in the way you work with typescript in VS 2017?
  • do I need a tsconfig.json file? I have never needed one in the past...
like image 203
Calanus Avatar asked Sep 17 '26 12:09

Calanus


1 Answers

You need an tsconfig.json file for Visual Studio to build ts files into js.

like image 176
Clayton Harbich Avatar answered Sep 19 '26 08:09

Clayton Harbich