TypeScript/tests/cases/fourslash/tsxCompletion2.ts
2015-06-18 14:02:47 -07:00

16 lines
425 B
TypeScript

/// <reference path='fourslash.ts' />
//@Filename: file.tsx
//// declare module JSX {
//// interface Element { }
//// interface IntrinsicElements {
//// }
//// interface ElementAttributesProperty { props; }
//// }
//// class MyComp { props: { ONE: string; TWO: number } }
//// var x = <MyComp /**//>;
goTo.marker();
verify.completionListContains('ONE');
verify.completionListContains('TWO');