diff --git a/src/Language/TypeScript/Assignment.hs b/src/Language/TypeScript/Assignment.hs index a06a603d1..b7d562a31 100644 --- a/src/Language/TypeScript/Assignment.hs +++ b/src/Language/TypeScript/Assignment.hs @@ -364,6 +364,7 @@ jsxChild = choice [ jsxElement', jsxExpression', jsxText ] jsxSelfClosingElement :: Assignment jsxSelfClosingElement = makeTerm <$> symbol Grammar.JsxSelfClosingElement <*> children (TypeScript.Syntax.JsxSelfClosingElement <$> term jsxElementName <*> manyTerm jsxAttribute') +jsxAttribute' :: Assignment jsxAttribute' = jsxAttribute <|> jsxExpression' jsxOpeningElement' :: Assignment