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

24 lines
472 B
TypeScript

//// [tests/cases/conformance/jsx/checkJsxNamespaceNamesQuestionableForms.tsx] ////
//// [checkJsxNamespaceNamesQuestionableForms.tsx]
declare namespace JSX {
interface IntrinsicElements {
'this:b': any;
'b:c': {
x: any
};
'a:b': any;
}
}
<a:b></a:b>;
<b:c.x></b:c.x>;
<this:b></this:b>;
//// [checkJsxNamespaceNamesQuestionableForms.jsx]
"use strict";
<a:b></a:b>;
<b:c x></b:c>;
x > ;
<this:b></this:b>;