Home > typeioc > IDecoratorRegistration > named
Specifies named registration. Registration can be resolved only using the name provided
Signature:
named(name: string): WithDecoratorRegisterName<T>;
| Parameter | Type | Description | 
|---|---|---|
| name | string | 
      a value that should be used during service resolution If parameter value is null or undefined ArgumentError is thrown | 
    
Returns:
WithDecoratorRegisterName<T>