TypeLITE is the utility, that generates TypeScript definitions from .NET classes.
It's especially useful to keep your TypeScript classes on the client in sync with your POCO classes on the server.
Please check the project webpage
The library is distributed under MIT license.
Fixed #110 interface for classes with a base class
Added #109 support for System.Sbyte
Fixed Error generating JsDoc in case of the name of the assembly contains a space
Fixed Problem with the binaries version in 1.5.0
Added Implemented support for interface inheritance.
Added Added support for [TsIgnore] attribute on classes
Added #95, #96 Adds option to generate enums without 'const' modifier. Use TypeScript.AsConstEnums(false) in your TypeLite.tt file.
Fixed #94 TsGeneratorOutput isn't treated as flag in AppendEnumDefinition
Fixed #90 export const enum for compatibility with TypeScript 1.5
Added #89 Added support for Windows Phone 8.1 as target platform
Added #73 Added support for generating JSDoc comments from XML odcumentation. Works only in .NET 4, needs XML Doc files. Use .WithJSDoc()
Added #86 Support for classes outside modules. A TS class is generated outside module if the source .NET class isn't in a namespace or if [TsClass(Module = "")] attribute is used.
Fixed #79 ModuleNameForrmater not called in certain cases
Fixed #85 Unable to reuse enums
Fixed #84 Module name formatter doesn't work for nested namespaces
Fixed #76 Error when renaming modules
Added Better extensibility of TsGenerator, better extensibility of formaters
Fixed #47 Fixed problem with derived generics
Fixed #64 Incorrect definition for KeyValuePair<int, List>
Fixed #65 Generic porperty referencin containing type causes StackOverflowException
Added #49 Better output formating
Fixed #57 Support for generics
Fixed #51 Support for multidimensional arrays
Fixed #52 Support for using [TsEnum] without class
Added #60 DateTimeOffset generated as Date
Added #50 Support for generating TypeScript interfaces from .NET interfaces
Fixed #59 Bug in tt files
Added #57 Support public fields
Fixed #48 For().ToModule() Added #46 Support for inner classes
Fixed #43 Declare keyword on modules with enums
Fixed #44 Export keyword on enums
Fixed #45 Empty modules
Added #27 Support for standalone enums
Fixed #33: Enums not created when using list
Fixed #41: Combination of generics and Enum throws an exception
Fixed #42: Duplicate TS iterfaces for generic parameters
Added Strong assembly names
Added #17: Enums should go to .ts files
Added MemberTypeFormatter
Fixed #28: Fluent method for adding references
Added Optional fields
Fixed #24: Nullable enums
Added Nuget package TypeLITE.Lib without T4 templates
Fixed Empty modules when type convertor is used
Fixed Incorrect output of type convertor if the module is specified
Fixed #15: Problems with enum underlaying types
Fixed #18: ModelVisitor visits enums
Added #7: Type convertors
Added #9: Fluent configuration for classes
Added #12: Generation of enums
Fixed #13: TypeScript 0.9.1 uses boolean keyword instead of bool
Fixed #11: Typescript 0.9 requires declare keyword in the module definition
Enhancement #10: Converted project to Portable class library
Fixed #4: DateTime type conversion results in invalid type definition
Fixed #5: Generic classes result in invalid interface definitions
Fixed #6: Properties with System.Guid type result in invalid typescript code
Fixed #2: TsIgnore-attribute doesn't work with properties
Added Support for nullable value types
Added Support for .NET 4