TypeScript/tests/cases/fourslash/renameJsThisProperty01.ts

12 lines
294 B
TypeScript
Raw Normal View History

2016-01-27 22:26:41 +01:00
/// <reference path='fourslash.ts'/>
// @allowJs: true
// @Filename: a.js
////function bar() {
2019-06-13 21:25:02 +02:00
//// [|this.[|{| "contextRangeIndex": 0 |}x|] = 10;|]
2016-01-27 22:26:41 +01:00
////}
////var t = new bar();
2019-06-13 21:25:02 +02:00
////[|t.[|{| "contextRangeIndex": 2 |}x|] = 11;|]
2016-01-27 22:26:41 +01:00
verify.rangesWithSameTextAreRenameLocations("x");