Page Contents

Home > @loopback/core > extensionFor

extensionFor() function

A factory function to create binding template for extensions of the given extension point

Signature:

export declare function extensionFor(...extensionPointNames: string[]): BindingTemplate;

Parameters

Parameter Type Description
extensionPointNames string[] Names of the extension point

Returns:

BindingTemplate