Skip to main content Link Menu Expand (external link) Document Search Copy Copied

PatternMessage interface

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

A single message with no variants.

Signature:

export interface PatternMessage 

Properties

Property Modifiers Type Description
comment?   string (BETA) (Optional)
declarations   Declaration[] (BETA)
errors?   ParseError[] (BETA) (Optional)
pattern   Pattern (BETA)
type   ‘message’ (BETA)