Class: Optional
optional.Optional
NOTE: does not support Changing dependencies without
@inject
.
Constructors
constructor
• new Optional(identifier
)
Parameters
Name | Type |
---|---|
identifier | ServiceIdentifier <any > |
Defined in
packages/reactant-di/src/optional.ts:9
Properties
identifier
• identifier: ServiceIdentifier
<any
>
Defined in
packages/reactant-di/src/optional.ts:9
Accessors
key
• get
key(): symbol
Returns
symbol