v0.15.0
What's Changed
It's now possible to change the construct used for the "implementation" symbol between being a type
, interface
or abstract class
using the new option --ts-server-implementation-method
. This is particularly useful if using a dependency injection library that requires abstract class
as part of its wiring approach.
Additionally, when splitting the generated files by first-tag
/ first-slug
(using --grouping-strategy
), the tag/slug will now be added to the exported symbol names, eg: createRouter
-> createMyTagRouter
and Implementation
-> MyTagImplementation
. This can reduce the need to alias imports manually.
The generic Implementation
/ createRouter
exports have be retained to keep this backwards compatible.
Features
- feat: support emitting abstract classes for implementation types by @mnahkies in #256
- feat: emit unique symbol names for Implementation / createRouter functions by @mnahkies in #258
Misc
- fix(docs): improve meta tags by @mnahkies in #255
- chore: dependencies / refresh data by @mnahkies in #257
Full Changelog: v0.14.0...v0.15.0