Variable ERROR_MESSAGESConst
ERROR_MESSAGES: {
BODY_NOT_BLOCK: (tagName: string) => string;
EMPTY_JSX_EXPRESSION: "Empty JSX expression found.";
IDENTIFIER_NOT_FOUND: (name: string) => string;
INVALID_BIND_TYPE: (type: string) => string;
INVALID_DIRECTIVE_VALUE: "Invalid value in directive expression.";
INVALID_INITIAL_ELEMENT: "Invalid initial element found. The first element must be a JSX element.";
INVALID_OPENING_TAG: "Invalid opening tag found.";
NO_PROGRAM_FOUND: "No program found for JSX transformation.";
NO_STATEMENT_PATH: (tagName: string) => string;
ONLY_STRING_LITERALS: "Only string literals are supported for JSX attributes.";
TAG_NAME_NOT_FOUND: (tagName: string) => string;
UNKNOWN_JSX_ATTRIBUTE_TYPE: "Unknown JSX attribute type found.";
UNKNOWN_TEMPLATE_TYPE: (type: string) => string;
} = ...
Type Declaration
ReadonlyBODY_NOT_BLOCK: (tagName: string) => string
ReadonlyEMPTY_JSX_EXPRESSION: "Empty JSX expression found."
ReadonlyIDENTIFIER_NOT_FOUND: (name: string) => string
ReadonlyINVALID_BIND_TYPE: (type: string) => string
ReadonlyINVALID_DIRECTIVE_VALUE: "Invalid value in directive expression."
ReadonlyINVALID_INITIAL_ELEMENT: "Invalid initial element found. The first element must be a JSX element."
ReadonlyINVALID_OPENING_TAG: "Invalid opening tag found."
ReadonlyNO_PROGRAM_FOUND: "No program found for JSX transformation."
ReadonlyNO_STATEMENT_PATH: (tagName: string) => string
ReadonlyONLY_STRING_LITERALS: "Only string literals are supported for JSX attributes."
ReadonlyTAG_NAME_NOT_FOUND: (tagName: string) => string
ReadonlyUNKNOWN_JSX_ATTRIBUTE_TYPE: "Unknown JSX attribute type found."
ReadonlyUNKNOWN_TEMPLATE_TYPE: (type: string) => string