Indeed, we mostly use bindable
and autoinject
.
This (turning off type checking for the decorator function) might work as a workaround:
@(newInstance as any)(MyService, parameters) myService: MyService
Indeed, we mostly use bindable
and autoinject
.
This (turning off type checking for the decorator function) might work as a workaround:
@(newInstance as any)(MyService, parameters) myService: MyService