defineExtension
Unofficial
Registers a new editor extension method.
Import:
import type { defineExtension } from '@obsidian-typings/obsidian-public-latest';Signature:
function defineExtension(name: string, value: unknown): voidParameters:
| Parameter | Type | Description |
|---|---|---|
name | string | The extension name. |
value | unknown | The extension implementation. |
Returns: void