mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
24 lines
472 B
TypeScript
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>;
|