Files
tsgo/testdata/baselines/reference/submodule/conformance/tsxElementResolution2.js

23 lines
295 B
TypeScript

//// [tests/cases/conformance/jsx/tsxElementResolution2.tsx] ////
//// [file.tsx]
declare namespace JSX {
interface Element { }
interface IntrinsicElements {
[x: string]: any;
}
}
// OK
<div />;
// OK
<span />;
//// [file.jsx]
"use strict";
// OK
<div />;
// OK
<span />;