2015-06-18 23:02:47 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
//@Filename: file.tsx
|
|
|
|
//// declare module JSX {
|
|
|
|
//// interface Element { }
|
|
|
|
//// interface IntrinsicElements {
|
|
|
|
//// }
|
|
|
|
//// interface ElementAttributesProperty { props }
|
|
|
|
//// }
|
|
|
|
//// class MyClass {
|
|
|
|
//// props: {
|
2019-06-13 21:25:02 +02:00
|
|
|
//// [|[|{| "contextRangeIndex": 0 |}name|]?: string;|]
|
2015-06-18 23:02:47 +02:00
|
|
|
//// size?: number;
|
|
|
|
//// }
|
2017-01-26 20:02:08 +01:00
|
|
|
////
|
|
|
|
////
|
2019-06-13 21:25:02 +02:00
|
|
|
//// var x = <MyClass [|[|{| "contextRangeIndex": 2 |}name|]='hello'|]/>;
|
2015-06-18 23:02:47 +02:00
|
|
|
|
2019-06-05 22:45:03 +02:00
|
|
|
verify.rangesWithSameTextAreRenameLocations("name");
|