createApiRef()
Home > @backstage/core-plugin-api
> createApiRef
Creates a reference to an API.
Signature:
function createApiRef<T>(config: ApiRefConfig): ApiRef<T>;
Parameters
Parameter |
Type |
Description |
---|---|---|
config |
The descriptor of the API to reference. |
ApiRef<T>
An API reference.