mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +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' />;
|