15 lines
490 B
Plaintext
15 lines
490 B
Plaintext
tests/cases/conformance/jsx/tsxElementResolution6.tsx(8,1): error TS2339: Property 'div' does not exist on type 'JSX.IntrinsicElements'.
|
|
|
|
|
|
==== tests/cases/conformance/jsx/tsxElementResolution6.tsx (1 errors) ====
|
|
declare module JSX {
|
|
interface Element { }
|
|
interface IntrinsicElements { }
|
|
}
|
|
|
|
var div: any;
|
|
// Still an error
|
|
<div n='x' />;
|
|
~~~~~~~~~~~~~
|
|
!!! error TS2339: Property 'div' does not exist on type 'JSX.IntrinsicElements'.
|
|
|