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