TypeScript/tests/cases/fourslash/renameParameterPropertyDeclaration3.ts
2019-06-13 12:41:21 -07:00

11 lines
341 B
TypeScript

/// <reference path='fourslash.ts'/>
//// class Foo {
//// constructor([|protected [|{| "contextRangeIndex": 0 |}protectedParam|]: number|]) {
//// let protectedParam = [|protectedParam|];
//// this.[|protectedParam|] += 10;
//// }
//// }
verify.rangesWithSameTextAreRenameLocations("protectedParam");