TypeScript/tests/cases/fourslash/renameImportNamespaceAndShorthand.ts

8 lines
252 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts' />
2019-06-13 21:25:02 +02:00
////[|import * as [|{| "contextRangeIndex": 0 |}foo|] from 'bar';|]
////const bar = { [|foo|] };
2019-05-31 23:40:59 +02:00
const [r0Def, r0, r1] = test.ranges();
verify.renameLocations([r0, r1], [r0, { range: r1, prefixText: "foo: " }]);