Welcome to TypeGen’s documentation!¶
TypeGen is a single-class-per-file C# to TypeScript generator.
Use:
- Download from NuGet
- Use as .NET tool (NuGet package)
- Browse the source code
Contents:
- Overview
- What is generated?
- TypeGen attributes
- ExportTs… attributes
- TsCustomBaseAttribute
- TsDefaultExportAttribute
- TsDefaultTypeOutputAttribute
- TsDefaultValueAttribute
- TsIgnoreAttribute
- TsIgnoreBaseAttribute
- TsMemberNameAttribute
- TsNull, TsNotNull, TsUndefined, TsNotUndefined attributes
- TsOptionalAttribute
- TsReadonly, TsNotReadonly attributes
- TsStatic, TsNotStatic attributes
- TsStringInitializersAttribute
- TsTypeAttribute
- TsTypeUnionsAttribute
- Generation spec
- Command Line Interface
- Programmatical API
- Converters
- Other features
- API Reference
- Troubleshooting
- Legal