mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 00:52:29 +03:00
11 lines
169 B
TypeScript
11 lines
169 B
TypeScript
|
//@jsx: preserve
|
||
|
|
||
|
//@filename: file1.tsx
|
||
|
declare namespace JSX { interface Element { } }
|
||
|
|
||
|
<div></div>
|
||
|
<div></div>
|
||
|
|
||
|
//@filename: file2.tsx
|
||
|
var x = <div></div><div></div>
|