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

12 lines
294 B
TypeScript

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