Enables experimental / legacy decorators to only apply to a specific type of class / property / parameter, or else raise a compile time type error.
Exports
TypedInjectionToken
and @TypedInject(...)
to enable compile time typechecking for parameter based Dependency Injection. These types replace and are compatible
with
NestJS InjectionToken
and
@Inject()
.
Exports
@TypedInject(...)
, a version of the
Inversify
builtin
@inject(...)
that only applies to the right type of parameter, or else raises a compile time type error.