method
RichTextRenderOptions.fallback
Unknown nodes/variants fail by default; a fallback must return visible application-owned output.
Arguments
| Argument | Type | Description |
|---|---|---|
node | unknown | The node value. |
error | Error | The error value. |
Returns
The declared result.
stringFull signature
RichTextRenderOptions.fallback(
node: unknown,
error: Error,
): string