Page Contents
Home > @loopback/context > asBindingTemplate
asBindingTemplate() function
Convert binding scope and tags as a template function
Signature:
export declare function asBindingTemplate<T = unknown>(scopeAndTags: BindingScopeAndTags): BindingTemplate<T>;
Parameters
Parameter | Type | Description |
---|---|---|
scopeAndTags | BindingScopeAndTags | Binding scope and tags |
Returns: