mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-20 19:45:07 -06:00
Added test for JSX spread properties.
This commit is contained in:
parent
3fe0d3defe
commit
a7983a4f3e
14
tests/cases/fourslash/tsxCompletion4.ts
Normal file
14
tests/cases/fourslash/tsxCompletion4.ts
Normal file
@ -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");
|
||||
Loading…
x
Reference in New Issue
Block a user