11 lines
358 B
TypeScript
11 lines
358 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
//// class Foo {
|
|
//// constructor([|protected { [|{| "contextRangeIndex": 0 |}protectedParam|] }|]) {
|
|
//// let myProtectedParam = [|protectedParam|];
|
|
//// }
|
|
//// }
|
|
|
|
const [r0Def, r0, r1] = test.ranges();
|
|
verify.renameLocations([r0, r1], [{ range: r0, prefixText: "protectedParam: " }, r1]);
|