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(extensionPointName: string): BindingTemplate;

Parameters

Parameter Type Description
extensionPointName string Name of the extension point

Returns:

BindingTemplate