TypeScript/tests/cases/fourslash/renameParameterPropertyDeclaration1.ts

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