Declaration type

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

A message may declare any number of input and local variables, each with a value defined by an expression. The variable name for each declaration must be unique.


export type Declaration = InputDeclaration | LocalDeclaration | UnsupportedStatement;

References: InputDeclaration, LocalDeclaration, UnsupportedStatement