CodeDiagnostic
interface exported by @mwillbanks/tuil-code.
interface
Public interface exported by @mwillbanks/tuil-code.
export interface CodeDiagnostic extends CodeSpan {
readonly severity: "info" | "warning" | "error";
readonly message: string;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
severity | "info" | "warning" | "error" | Yes | The severity member uses the "info" | "warning" | "error" contract. | — |
message | string | Yes | The message member uses the string contract. | — |
start | number | Yes | The start member uses the number contract. | — |
end | number | Yes | The end member uses the number contract. | — |
kind | string | Yes | The kind 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
Source
View the secondary source reference