TypeScript/tests/cases/fourslash/doubleUnderscoreRenames.ts

13 lines
328 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts'/>
// @Filename: fileA.ts
2019-06-13 21:25:02 +02:00
//// [|export function [|{| "contextRangeIndex": 0 |}__foo|]() {
2019-06-06 18:49:31 +02:00
//// }|]
////
// @Filename: fileB.ts
2019-06-13 21:25:02 +02:00
//// [|import { [|{| "contextRangeIndex": 2 |}__foo|] as bar } from "./fileA";|]
////
//// bar();
2019-06-06 18:49:31 +02:00
verify.rangesWithSameTextAreRenameLocations("__foo");