Junk 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.

When the parser encounters an error, it may emit a Junk pattern element to represent it.


export interface Junk 


Garbage in, garbage out: Resolving a message that includes junk will always resolve it using a fallback representation.


Property Modifiers Type Description
name?   never (BETA) (Optional)
source   string (BETA)
type   ‘junk’ (BETA)