diff --git a/AST.md b/AST.md index 16af254..efb6eb0 100644 --- a/AST.md +++ b/AST.md @@ -95,7 +95,7 @@ Opening element ("tag") may contain attributes: interface JSXAttribute <: Node { type: "JSXAttribute"; name: JSXIdentifier | JSXNamespacedName; - value: Literal | JSXExpressionContainer | JSXElement | JSXFragment | null; + value: Literal | TemplateLiteral | JSXExpressionContainer | JSXElement | JSXFragment | null; } interface JSXSpreadAttribute <: SpreadElement { diff --git a/README.md b/README.md index e195e25..b6b906c 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,7 @@ JSXAttributeValue :
 - `"` JSXDoubleStringCharactersopt `"` - `'` JSXSingleStringCharactersopt `'` +- TemplateLiteral - `{` AssignmentExpression `}` - JSXElement - JSXFragment