20 lines
493 B
TypeScript
20 lines
493 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
//@Filename: file.tsx
|
|
//// declare module JSX {
|
|
//// interface Element { }
|
|
//// interface IntrinsicElements {
|
|
//// div: { ONE: string; TWO: number; }
|
|
//// }
|
|
//// }
|
|
//// var x1 = <div>
|
|
//// <h1> Hello world </ /*2*/>
|
|
//// </ /*1*/>
|
|
|
|
goTo.marker("1");
|
|
verify.completionListCount(1);
|
|
verify.completionListContains('div');
|
|
|
|
goTo.marker("2");
|
|
verify.completionListCount(1);
|
|
verify.completionListContains('h1')
|