For VS 2017 if it's not working, please try to upgrade VS 2017 to latest version. The main point is to help you to convert DTO or interface to Typescript with correct syntax (not to convert everything C# code to typescript) Copy any C# code (correct syntax, whole class, method or interface, currently does not support to convert fragment of source code) It is based on Roslyn compiler, which is only available on VS 2015, 2017 Github: https://github.com/nhabuiduc/TypescriptSyntaxPaste ************************************************************************************** There is option to convert class/struct in C# into interface typescript, go to Tool->Option->Typescript Paste-> Convert to Interface: true. Option to replace type name to new type name, for example: DateTimeOffset -> Date.
|