mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
//// [tests/cases/conformance/jsx/commentEmittingInPreserveJsx1.tsx] ////
|
|
|
|
=== file.tsx ===
|
|
/// <reference path="react.d.ts" />
|
|
|
|
import React = require('react');
|
|
>React : Symbol(React, Decl(file.tsx, 0, 0))
|
|
|
|
<div>
|
|
>div : Symbol(JSX.IntrinsicElements.div, Decl(react.d.ts, 2402, 45))
|
|
|
|
// Not Comment
|
|
</div>;
|
|
>div : Symbol(JSX.IntrinsicElements.div, Decl(react.d.ts, 2402, 45))
|
|
|
|
<div>
|
|
>div : Symbol(JSX.IntrinsicElements.div, Decl(react.d.ts, 2402, 45))
|
|
|
|
// Not Comment
|
|
{
|
|
//Comment just Fine
|
|
}
|
|
// Another not Comment
|
|
</div>;
|
|
>div : Symbol(JSX.IntrinsicElements.div, Decl(react.d.ts, 2402, 45))
|
|
|
|
<div>
|
|
>div : Symbol(JSX.IntrinsicElements.div, Decl(react.d.ts, 2402, 45))
|
|
|
|
// Not Comment
|
|
{
|
|
//Comment just Fine
|
|
"Hi"
|
|
}
|
|
// Another not Comment
|
|
</div>;
|
|
>div : Symbol(JSX.IntrinsicElements.div, Decl(react.d.ts, 2402, 45))
|
|
|
|
<div>
|
|
>div : Symbol(JSX.IntrinsicElements.div, Decl(react.d.ts, 2402, 45))
|
|
|
|
/* Not Comment */
|
|
{
|
|
//Comment just Fine
|
|
"Hi"
|
|
}
|
|
</div>;
|
|
>div : Symbol(JSX.IntrinsicElements.div, Decl(react.d.ts, 2402, 45))
|
|
|