Skip to content
This repository has been archived by the owner on May 21, 2018. It is now read-only.
cskeppstedt edited this page Nov 16, 2012 · 1 revision
  1. Install the NuGet package (https://nuget.org/packages/T4TS).

  2. Decoreate any C# class that you want to generate an interface for, with the TypeScriptInterfaceAttribute (in the T4TS namespace).

  3. Run the T4TS.tt-file (right-click and select Run custom tool).

  4. The generated file T4TS.d.ts will now contain the interfaces that can be used in your TypeScript files.

Clone this wiki locally