mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 15:12:08 +03:00
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>; |