mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
296 B
TypeScript
19 lines
296 B
TypeScript
//// [tests/cases/conformance/jsx/tsxElementResolution6.tsx] ////
|
|
|
|
//// [file.tsx]
|
|
declare namespace JSX {
|
|
interface Element { }
|
|
interface IntrinsicElements { }
|
|
}
|
|
|
|
var div: any;
|
|
// Still an error
|
|
<div n='x' />;
|
|
|
|
|
|
//// [file.jsx]
|
|
"use strict";
|
|
var div;
|
|
// Still an error
|
|
<div n='x'/>;
|