jsx and ts
Closed this issue · 0 comments
hsiaosiyuan0 commented
below is notation of the typescript modified unaryExpression:
UnaryExpression:
<Type> UnaryExpression
the first <
is ambiguous with the openning tag syntax in jsx - <div>a
for dealing with this problem, ts-modified unaryExpression is disabled while jsx sytanx is enabled