EditorDiagnostic
interface exported by @mwillbanks/tuil-editor.
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
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
range | EditorRange | Yes | The range member uses the EditorRange contract. | EditorRange |
severity | "info" | "warning" | "error" | Yes | The severity member uses the "info" | "warning" | "error" contract. | — |
message | string | Yes | The message member uses the string contract. | — |
source | string | undefined | No | The 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.
Related types
Source
View the secondary source reference