Last post Dec 05, 2017 11:49 PM by johnjalani
Dec 05, 2017 02:49 PM|johnjalani|LINK
Please help me, before i'm using VS 2015 and my TS works fine, all of my changes to any TS file gets generated to JS, but when i upgrade to VS2017, more than 2000 TS errors shows up from the same Project that i used to work from the old VS2015, and i can't
generate the JS files anymore.
can anyone please help me.
Thank you very much in advance
Dec 05, 2017 04:09 PM|bruce (sqlwork.com)|LINK
vs2015 used a global typescript install, vs2017 uses a local. most likely you need to change your project to an earlier version (maybe 1.3). You will need to set both the typescript build and intellisense setting.
note: I use ES7 instead of typescript, so I only deal with the intellisense settings.
Dec 05, 2017 10:38 PM|johnjalani|LINK
Thanks for your reply, is there a way that we can just let type generate the JS file regardless if there is an error? without downgrading?
Dec 05, 2017 11:49 PM|johnjalani|LINK
What i did is i just Upgrade my TS version from 2.3 to 2.6, add the tsconfig.json file with the following contents and that's it, it generates the JS file even with errors