TypeScript/tests/cases/fourslash/tsxCompletion6.ts

13 lines
325 B
TypeScript

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