Type alias Message

Message: {
    readonly [code in Extract<keyof GenericMessage, string>]?: unknown
}

Input validation messages.

This is a map of key/value pairs, where the key is a message code, while the value is arbitrary. Message codes are ignored when their values are falsy (i.e. !message[code] === true).

Some message codes are treated specially by convenience.

Generated using TypeDoc