12 lines
262 B
Plaintext
12 lines
262 B
Plaintext
=== tests/cases/conformance/jsx/tsxDynamicTagName1.tsx ===
|
|
|
|
var CustomTag = "h1";
|
|
>CustomTag : string
|
|
>"h1" : "h1"
|
|
|
|
<CustomTag> Hello World </CustomTag> // No error
|
|
><CustomTag> Hello World </CustomTag> : any
|
|
>CustomTag : string
|
|
>CustomTag : string
|
|
|