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

12 lines
299 B
TypeScript

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