0a97663843
* Add 'prefixText' and 'suffixText' when renaming shorthand properties * Make prefixText and suffixText missing instead of undefined * Fix test
7 lines
208 B
TypeScript
7 lines
208 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
////import [|foo|] from 'bar';
|
|
////const bar = { [|foo|] };
|
|
|
|
const [r0, r1] = test.ranges();
|
|
verify.renameLocations([r0, r1], [r0, { range: r1, prefixText: "foo: " }]);
|