12 lines
174 B
TypeScript
12 lines
174 B
TypeScript
//// [file1.tsx]
|
|
declare module JSX {
|
|
interface Element { }
|
|
}
|
|
|
|
// Error under implicit any
|
|
<div n='x' />;
|
|
|
|
|
|
//// [file1.jsx]
|
|
// Error under implicit any
|
|
<div n='x'/>;
|