Home > typeioc > IRegisterWithAs > named
Specifies named registration. Registration can be resolved only using the name provided
Signature:
named(name: string): RegisterWithName<T>;
| Parameter | Type | Description |
|---|---|---|
| name | string |
a value that should be used during service resolution |
Returns:
RegisterWithName<T>