Interface: InstanceOptions<T, R>
Defined in: src/types.ts:193
Options for ServiceRegistry.addInstance.
Type Parameters
T
T
R
R extends boolean = boolean
Properties
dispose?
optionaldispose?:DisposeOption<T>
Defined in: src/types.ts:197
The container does not own added instances; set this to dispose them with the container. Default: false.
replace?
optionalreplace?:R
Defined in: src/types.ts:195
Replace an existing registration of this key (see RegistrationOptions.replace).