TypeScript/tests/cases/fourslash/renameInheritedProperties8.ts

15 lines
344 B
TypeScript
Raw Normal View History

2016-01-08 12:34:43 +01:00
/// <reference path='fourslash.ts'/>
//// class C implements D {
2019-06-13 21:25:02 +02:00
//// [|[|{| "contextRangeIndex": 0 |}prop1|]: string;|]
2016-01-08 12:34:43 +01:00
//// }
////
2016-01-08 12:34:43 +01:00
//// interface D extends C {
2019-06-13 21:25:02 +02:00
//// [|[|{| "contextRangeIndex": 2 |}prop1|]: string;|]
2016-01-08 12:34:43 +01:00
//// }
////
2016-01-08 12:34:43 +01:00
//// var c: C;
//// c.[|prop1|];
verify.rangesWithSameTextAreRenameLocations("prop1");