mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +03:00
b887b30092
**Description:** This is required for https://github.com/swc-project/swc/pull/6981 and https://github.com/swc-project/swc/pull/6950
36 lines
489 B
TypeScript
36 lines
489 B
TypeScript
// @filename: file.tsx
|
|
// @jsx: preserve
|
|
// @noLib: true
|
|
// @skipLibCheck: true
|
|
// @libFiles: react.d.ts,lib.d.ts
|
|
|
|
import React = require('react');
|
|
|
|
<div>
|
|
// Not Comment
|
|
</div>;
|
|
|
|
<div>
|
|
// Not Comment
|
|
{
|
|
//Comment just Fine
|
|
}
|
|
// Another not Comment
|
|
</div>;
|
|
|
|
<div>
|
|
// Not Comment
|
|
{
|
|
//Comment just Fine
|
|
"Hi"
|
|
}
|
|
// Another not Comment
|
|
</div>;
|
|
|
|
<div>
|
|
/* Not Comment */
|
|
{
|
|
//Comment just Fine
|
|
"Hi"
|
|
}
|
|
</div>; |