mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 22:22:34 +03:00
9 lines
126 B
TypeScript
9 lines
126 B
TypeScript
|
//@jsx: preserve
|
||
|
//@filename: file1.tsx
|
||
|
declare module JSX {
|
||
|
interface Element { }
|
||
|
}
|
||
|
|
||
|
// OK, but implicit any
|
||
|
<div n='x' />;
|