Optional
options: InjectableOptionsOptional inject options.
The decorator.
Decorator for a class or static factory with parameters. Inject options are not optional because dependency qualifiers must be specified so the injector knows what has to be injected.
The inject options with a mandatory inject
property.
the decorator
Decorator for a class or static factory with parameters. Inject options are not optional because dependency qualifiers must be specified so the injector knows what has to be injected.
The type of the decorated class or static method
The constructor/method parameter types
The inject options with a mandatory inject
property.
the decorator
Short-form of the decorator without any inject options. Can only be used on classes or static factories without parameters.
Decorator for a class or static factory which has no parameters. Inject options are optional in this case because no dependency qualifiers needs to be specified.