Skip to content
| Marketplace
Sign in
Visual Studio>Tools>TypescriptSyntaxPaste
TypescriptSyntaxPaste

TypescriptSyntaxPaste

Nha Bui Duc

|
23,789 installs
| (24) | Free
Allow you to copy C# source code, then paste as Typescript syntax which help you with converting DTO or interface. 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,...
Download

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.

 

 

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft