mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-10 01:43:59 -05:00
Added failing test.
This commit is contained in:
15
tests/cases/fourslash/tsxCompletion5.ts
Normal file
15
tests/cases/fourslash/tsxCompletion5.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
//@Filename: file.tsx
|
||||
//// declare module JSX {
|
||||
//// interface Element { }
|
||||
//// interface IntrinsicElements {
|
||||
//// div: { ONE: string; TWO: number; }
|
||||
//// }
|
||||
//// }
|
||||
//// var x = <div ONE/**//>;
|
||||
|
||||
goTo.marker();
|
||||
verify.completionListContains("ONE");
|
||||
verify.completionListContains("TWO");
|
||||
verify.not.completionListAllowsNewIdentifier();
|
||||
Reference in New Issue
Block a user