11 lines
176 B
TypeScript
11 lines
176 B
TypeScript
|
//@filename: file.tsx
|
||
|
//@jsx: preserve
|
||
|
declare module JSX {
|
||
|
interface Element { }
|
||
|
interface IntrinsicElements { }
|
||
|
}
|
||
|
|
||
|
var div: any;
|
||
|
// Still an error
|
||
|
<div n='x' />;
|