mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
262 B
TypeScript
16 lines
262 B
TypeScript
//// [tests/cases/conformance/jsx/tsxElementResolution18.tsx] ////
|
|
|
|
//// [file1.tsx]
|
|
declare namespace JSX {
|
|
interface Element { }
|
|
}
|
|
|
|
// Error under implicit any
|
|
<div n='x' />;
|
|
|
|
|
|
//// [file1.jsx]
|
|
"use strict";
|
|
// Error under implicit any
|
|
<div n='x'/>;
|