typedoc/vite-plugin Functions
Functions exported from typedoc/vite-plugin.ts
createTypedocWatcher
function createTypedocWatcher(config: TypeDocConfig, contentDir: string, onChange?: () => void): { start: () => Promise; stop: () => void }
Parameters
| Name | Type | Description |
|---|---|---|
| config | TypeDocConfig | - |
| contentDir | string | - |
| onChange (optional) | () => void | - |
Returns
{ start: () => Promise<void>; stop: () => void }
typedocPlugin
function typedocPlugin(options: TypeDocPluginOptions): Plugin
Parameters
| Name | Type | Description |
|---|---|---|
| options | TypeDocPluginOptions | - |
Returns
Plugin