EditorDocument
interface exported by @mwillbanks/tuil-editor.
interface
Public interface exported by @mwillbanks/tuil-editor.
export interface EditorDocument {
readonly id: string;
readonly type: string;
readonly version: number;
readonly text: string;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
id | string | Yes | The id member uses the string contract. | — |
type | string | Yes | The type member uses the string contract. | — |
version | number | Yes | The version member uses the number contract. | — |
text | string | Yes | The text member uses the string contract. | — |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
No package-local related types.
Source
View the secondary source reference