obsidian-dev-utils
Version:
This is the collection of useful functions that you can use for your Obsidian plugin development
22 lines (21 loc) • 435 B
text/typescript
/**
* @packageDocumentation
*
* Holder for the plugin ID.
*/
/**
* A plugin ID for no plugin.
*/
export declare const NO_PLUGIN_ID_INITIALIZED = "__no-plugin-id-initialized__";
/**
* Returns the plugin ID.
*
* @returns The plugin ID.
*/
export declare function getPluginId(): string;
/**
* Sets the plugin ID.
*
* @param newPluginId - The new plugin ID.
*/
export declare function setPluginId(newPluginId: string): void;