Home > @xoram/core > dependsOn
dependsOn() function
Mark the plugin as depending on the given dependency.
Signature:
typescript
export declare function dependsOn(dependency: PluginId): void;
1
Parameters
Parameter | Type | Description |
---|---|---|
dependency | the id of the other plugin you depend on. Make sure to have at least one import in your module pointing to the dependency so typescript knows to load its types. |
Returns:
void