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

15 lines
343 B
TypeScript

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