typeioc

Home > typeioc > IDecoratorRegistration > transient

IDecoratorRegistration.transient() method

Specifies transient scope resolution. Every resolution of service returns new instance Is similar to scope.none, scope.none scope (default behavior)

Signature:

transient(): WithDecoratorRegister<T>;

Returns:

WithDecoratorRegister<T>