2015-12-13 00:52:55 +01:00
|
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
|
|
//// class Foo {
|
2019-06-13 21:25:02 +02:00
|
|
|
|
//// constructor([|protected { [|{| "contextRangeIndex": 0 |}protectedParam|] }|]) {
|
2015-12-17 01:06:55 +01:00
|
|
|
|
//// let myProtectedParam = [|protectedParam|];
|
2015-12-13 00:52:55 +01:00
|
|
|
|
//// }
|
|
|
|
|
//// }
|
|
|
|
|
|
2019-05-31 20:32:25 +02:00
|
|
|
|
const [r0Def, r0, r1] = test.ranges();
|
2018-09-27 01:58:01 +02:00
|
|
|
|
verify.renameLocations([r0, r1], [{ range: r0, prefixText: "protectedParam: " }, r1]);
|