From fdc504a19ff236733b5e10a3197ff662dd3727f8 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Thu, 9 Jul 2015 19:57:56 -0700 Subject: [PATCH] Added failing test. --- tests/cases/fourslash/tsxCompletion5.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/cases/fourslash/tsxCompletion5.ts diff --git a/tests/cases/fourslash/tsxCompletion5.ts b/tests/cases/fourslash/tsxCompletion5.ts new file mode 100644 index 0000000000..2de6d9a413 --- /dev/null +++ b/tests/cases/fourslash/tsxCompletion5.ts @@ -0,0 +1,15 @@ +/// + +//@Filename: file.tsx +//// declare module JSX { +//// interface Element { } +//// interface IntrinsicElements { +//// div: { ONE: string; TWO: number; } +//// } +//// } +//// var x =
; + +goTo.marker(); +verify.completionListContains("ONE"); +verify.completionListContains("TWO"); +verify.not.completionListAllowsNewIdentifier(); \ No newline at end of file