Optional
decorator
Parameter decorator to be used on constructor parameters,
which marks the parameter as being an optional dependency.
The DI framework provides null
if the dependency is not found.
API
Description
Usage Notes
class Optional {}
Jump to details