2015-09-30 22:39:40 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
//@Filename: file.tsx
|
|
|
|
//// declare module JSX {
|
|
|
|
//// interface Element { }
|
|
|
|
//// interface IntrinsicElements {
|
|
|
|
//// }
|
|
|
|
//// interface ElementAttributesProperty { props }
|
|
|
|
//// }
|
|
|
|
//// class MyClass {
|
|
|
|
//// props: {
|
|
|
|
//// name?: string;
|
|
|
|
//// size?: number;
|
|
|
|
//// }
|
|
|
|
//// }
|
|
|
|
////
|
|
|
|
//// var [|/*dst*/nn|]: {name?: string; size?: number};
|
|
|
|
//// var x = <MyClass {...[|n/*src*/n|]}></MyClass>;
|
|
|
|
|
2016-08-29 22:34:32 +02:00
|
|
|
verify.goToDefinition("src", "dst");
|
2017-01-26 20:02:08 +01:00
|
|
|
verify.rangesAreRenameLocations();
|