mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Added test for JSX spread properties.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
//@Filename: file.tsx
|
||||
//// declare namespace JSX {
|
||||
//// interface Element { }
|
||||
//// interface IntrinsicElements {
|
||||
//// div: { one; two; }
|
||||
//// }
|
||||
//// }
|
||||
//// let bag = { x: 100, y: 200 };
|
||||
//// <div {.../**/
|
||||
|
||||
goTo.marker();
|
||||
verify.completionListContains("bag");
|
||||
Reference in New Issue
Block a user