message
Output of inspector
Index
Classes
Type aliases
Functions
Type aliases
MessageOptions
Ƭ MessageOptions: object
Allowed extra options when creating a Message
Type declaration:
config: any
data: any
error: Error
filepath: string
id: string
isAggregate: boolean
message: string
severity: “error” | “warning” | “info”
RawMessage
Ƭ RawMessage: string | Partial‹MessageOptions›
Functions
createMessage
▸ createMessage(message
: string | Partial‹MessageOptions›, opts?
: Partial‹MessageOptions›): Readonly‹Message›
Parameters:
Name | Type |
---|---|
message | string | Partial‹MessageOptions› |
opts? | Partial‹MessageOptions› |
Returns: Readonly‹Message›