Typescript will not properly compile in VS2012

前端 未结 2 960
孤街浪徒
孤街浪徒 2021-02-20 06:31

For no clear reason, Typescript has suddenly stopped reliably compiling into JS code.

Using VS2012, Typescript for VS ver 0.8.3.1 and Web Essentials ver 2.6 (set to \"Co

相关标签:
2条回答
  • 2021-02-20 07:10

    it happened to me,

    i solved this issue by setting the build action of the ts file to TypeScriptCompile

    0 讨论(0)
  • 2021-02-20 07:26

    Please see : Preview pane for TypeScript missing and/or not updating in VS2012/13

    Also check that there are no compile errors in the TS files - a language update can create an error without you noticing, and the new version of WE simply does not update the preview pane like it used to.

    0 讨论(0)
提交回复
热议问题