2015-12-11 02:35:10 +01:00
|
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
|
|
//@Filename: file.tsx
|
|
|
|
|
//// declare module JSX {
|
|
|
|
|
//// interface Element { }
|
|
|
|
|
//// interface IntrinsicElements {
|
|
|
|
|
//// div: { ONE: string; TWO: number; }
|
|
|
|
|
//// }
|
|
|
|
|
//// }
|
2015-12-11 23:12:57 +01:00
|
|
|
|
//// var x1 = <div>
|
|
|
|
|
//// <h1> Hello world </ /*2*/>
|
|
|
|
|
//// </ /*1*/>
|
2015-12-11 02:35:10 +01:00
|
|
|
|
|
2015-12-11 23:12:57 +01:00
|
|
|
|
goTo.marker("1");
|
2016-12-07 22:36:11 +01:00
|
|
|
|
verify.completionListCount(1);
|
2015-12-11 23:12:57 +01:00
|
|
|
|
verify.completionListContains('div');
|
|
|
|
|
|
|
|
|
|
goTo.marker("2");
|
2016-12-07 22:36:11 +01:00
|
|
|
|
verify.completionListCount(1);
|
2015-12-11 23:12:57 +01:00
|
|
|
|
verify.completionListContains('h1')
|