diff --git a/AST.md b/AST.md index 8400fb8..7555620 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 | null; + value: Literal | JSXExpressionContainer | JSXElement | JSXFragment | null; } // This is already used by ES6 parsers, but not included diff --git a/README.md b/README.md index 4932bc2..684a104 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,7 @@ JSXAttributeValue :
 - `'` JSXSingleStringCharactersopt `'` - `{` AssignmentExpression `}` - JSXElement +- JSXFragment JSXDoubleStringCharacters :