TypeScript/tests/cases/fourslash/renameParameterPropertyDeclaration3.ts

11 lines
341 B
TypeScript
Raw Normal View History

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|]: number|]) {
2015-12-17 01:06:55 +01:00
//// let protectedParam = [|protectedParam|];
//// this.[|protectedParam|] += 10;
2015-12-13 00:52:55 +01:00
//// }
//// }
verify.rangesWithSameTextAreRenameLocations("protectedParam");