Skip to content

createThirdPartyPluginDependency<TApi>

Builds the declaration of a required third-party plugin, for PluginBase.getPluginDependencies().

Import:

import { createThirdPartyPluginDependency } from '@mnaoumov/obsidian-lib/plugin/third-party-plugin';

Signature:

function createThirdPartyPluginDependency(params: CreateThirdPartyPluginDependencyParams<TApi>): ThirdPartyPluginDependency

Parameters:

Parameter Type Description
params CreateThirdPartyPluginDependencyParams<TApi> The CreateThirdPartyPluginDependencyParams.

Returns: ThirdPartyPluginDependency — The dependency.


Links to this page: