TypeScript/tests/cases/fourslash/tsxCompletionOnClosingTagWithoutJSX2.ts
Andy 7a79a45aab
JSX closing tag completion: Include '>' if not already present (#25551)
* JSX closing tag completion: Include '>' if not already present

* Expand comment
2018-07-10 16:14:57 -07:00

9 lines
227 B
TypeScript

/// <reference path='fourslash.ts' />
//@Filename: file.tsx
//// var x1 = <div>
//// <h1> Hello world </ /*2*/>
//// </ /*1*/>
verify.completions({ marker: "1", exact: "div" }, { marker: "2", exact: "h1" });