mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
353 B
Plaintext
15 lines
353 B
Plaintext
a.tsx(7,16): error TS1145: '{' or JSX element expected.
|
|
|
|
|
|
==== a.tsx (1 errors) ====
|
|
declare var React: any;
|
|
|
|
<div>
|
|
<div attr=<div /> />
|
|
<div attr=<div>foo</div> />
|
|
<div attr=<><div>foo</div></> />
|
|
<div attr= />
|
|
~
|
|
!!! error TS1145: '{' or JSX element expected.
|
|
</div>
|
|
|