tuil
ReferencePackages@mwillbanks/tuil-editorAPI

EditorDocument

interface exported by @mwillbanks/tuil-editor.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-editor.

export interface EditorDocument {
  readonly id: string;
  readonly type: string;
  readonly version: number;
  readonly text: string;
}

Members

MemberTypeRequiredDescriptionRelated types
idstringYesThe id member uses the string contract.
typestringYesThe type member uses the string contract.
versionnumberYesThe version member uses the number contract.
textstringYesThe 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.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-editor

On this page