馃帀 1.1.0 Release
1.1.0 is here and provides new features, fixes and breaking changes.
New Features
NameAllocator
brought over to allocate names avoiding collisions.- Classes, interfaces, enums & aliases derive
TypeSpec<>
andAnyTypeSpec
can be used to represent them. %P
is now supported to allow output template strings without escaping.%Q
is now supported to allow outputting a tracked symbol (as opposed to a type).- Imports are automatically renamed to avoid collisions.
- All specs now implement
toString
for easier debugging - Added missing
optional
mutator toParameterSpec
&PropertySpec
builders. - Allow specifying module kind (module or namespace) in
ModuleSpec
- Added missing
TypeName
constructor toInterfaceSpec
- Type
Breaking Changes
- All references to
JavaDoc
/javaDoc
have been renamedTSDoc/tsDoc
- Decorators are output in a simplified format.
Resolved Issues
%N
now resolves anyTypeSpec<>
.CodeWriter
is now flushed after use.- Functions signatures use breaking spaces to allow line wrapping.
- Static properties are no longer considered for shorthand properties.