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

14 lines
319 B
TypeScript

/// <reference path='fourslash.ts'/>
// @allowJs: true
// @Filename: a.js
////class C {
//// constructor(y) {
//// [|this.[|{| "contextRangeIndex": 0 |}x|] = y;|]
//// }
////}
////var t = new C(12);
////[|t.[|{| "contextRangeIndex": 2 |}x|] = 11;|]
verify.rangesWithSameTextAreRenameLocations("x");