src/messages.ts
Interface for representing messages.
text: string
string
The textual description of this message.
type: "error" | "warning"
"error" | "warning"
Specifies the type of message, either an error or a warning.