TypeScript/tests/cases/fourslash/tsxCompletion8.ts

13 lines
350 B
TypeScript

/// <reference path='fourslash.ts' />
//@Filename: file.tsx
//// declare module JSX {
//// interface Element { }
//// interface IntrinsicElements {
//// div: { ONE: string; TWO: number; }
//// }
//// }
//// var x = <div /*1*/ autoComplete /*2*/ />;
verify.completions({ marker: ["1", "2"], exact: ["ONE", "TWO"] });