TypeScript/tests/cases/fourslash/tsxCompletion2.ts

14 lines
391 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 /**//>;
verify.completions({ marker: "", exact: ["ONE", "TWO"] });