typeioc

Home > typeioc > IRegistration > asValue

IRegistration.asValue() method

Sets registration to be marked as value registration

Signature:

asValue(value: {}): IName;

Parameters

Parameter Type Description
value {} value to be returned during resolution

Returns:

IName

Remarks

Registration is provided as a value that is returned during resolution