TsGen
Quickly create Typescript types from .NET models.
Quickstart
- Add TsGen to your project from Nuget.
- Annotate your models with the [TsGen] Attribute.
- Add a class that extends TsGenSettings to your project and override the appropriate properties (you will at least need the OutputDirectories property).
- Install the TsGenCli .NET CLI tool.
- Run "tsgen" in the root of your project.