@banana-universe/bananajs / injectable
Function: injectable()
injectable<
T>(options?): (target) =>void
Defined in: node_modules/tsyringe/dist/typings/decorators/injectable.d.ts:9
Class decorator factory that allows the class' dependencies to be injected at runtime.
Type Parameters
T
T
Parameters
options?
token?
InjectionToken<T> | InjectionToken<T>[]
Returns
The class decorator
(target) => void