Web Essentials 2017 and TypeScript definition generation

╄→尐↘猪︶ㄣ 提交于 2019-12-07 13:48:23

问题


Just installed Web Essentials 2017 from the Visual Studio marketplace but the feature to create TypeScript definition from a C# class seems to be missing. In Web Essentials 2015, I would right mouse over the C# class file and there would be an option "Create TypeScript Intellisense file".

I checked the project change log and it shows that the TypeScript definition file generator was implemented in 1.2 and the installed version is 1.5.8.

https://github.com/madskristensen/WebEssentials2017/blob/master/CHANGELOG.md

What did I miss?


回答1:


Web Essentials is now split into multiple extensions. To install the TypeScript generator, go to Visual Studio 2017-->Tools-->Extensions and Updates-->Online. Now search for 'TypeScript Definition Generator'. Install the one created by by Mads Kristensen.




回答2:


I found the following extension: https://marketplace.visualstudio.com/items?itemName=MadsKristensen.TypeScriptDefinitionGenerator



来源:https://stackoverflow.com/questions/42786850/web-essentials-2017-and-typescript-definition-generation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!