Home > typeioc > IDecoratorRegistration > within
Specifies resolution instance scope. Scope determines how resolved service instances behave in between resolutions
Signature:
within(scope: ScopeType): WithDecoratorRegister<T>;
Parameter | Type | Description |
---|---|---|
scope | ScopeType |
the value of the scope ScopeType |
Returns:
WithDecoratorRegister<T>