tuil
ReferencePackages@mwillbanks/tuil-editorAPI

EditorDiagnostic

interface exported by @mwillbanks/tuil-editor.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-editor.

export interface EditorDiagnostic {
  readonly range: EditorRange;
  readonly severity: "info" | "warning" | "error";
  readonly message: string;
  readonly source?: string;
}

Members

MemberTypeRequiredDescriptionRelated types
rangeEditorRangeYesThe range member uses the EditorRange contract.EditorRange
severity"info" | "warning" | "error"YesThe severity member uses the "info" | "warning" | "error" contract.
messagestringYesThe message member uses the string contract.
sourcestring | undefinedNoThe source member uses the string | undefined 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.

Source

View the secondary source reference

Package

@mwillbanks/tuil-editor

On this page