Page Contents

Home > @loopback/context > Binding > inScope

Binding.inScope() method

Set the binding scope

Signature:

inScope(scope: BindingScope): this;

Parameters

Parameter Type Description
scope BindingScope Binding scope

Returns:

this