Skip to content

p-ob/Typify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typify Build status

Convert .NET classes into properly mapped TypeScript definitions to support seamless integration of ASP.NET server-side and TypeScript client-side models

Features

  1. Map base .NET objects (int, string, etc.) into their TypeScript counterparts (number, string, etc.)
  2. Generate namespaces for each unique namespace
    • Note that it converts "Some.DotNet.Namespace" to "some-dotnet-namespace"
  3. Create complex interfaces and enums based on custom classes
  4. Handle external imports appropriately
  5. Support nullable (e.g. int?) and "readonly" properties based on DataAnnotations, lack of public setters, or readonly modifiers
  6. Generate complex generic interfaces to support generic typings

Requirements

  • Typify.NET targets .NET Standard 1.6, and supports these target frameworks.
  • Typify.NET generates TypeScript definitions for TypeScript 2.0 and later.

Releases

No releases published

Packages

No packages published

Languages