TypeScript/tests/cases/fourslash/toggleLineComment6.ts

15 lines
258 B
TypeScript
Raw Normal View History

2020-02-25 02:24:08 +01:00
// Selection is at the start of jsx its still js.
2020-02-25 02:24:08 +01:00
//@Filename: file.tsx
//// let a = (
//// [|<div>
//// some text|]
//// </div>
//// );
verify.toggleLineComment(
2020-02-25 02:24:08 +01:00
`let a = (
//<div>
// some text
</div>
);`);