TypeScript/tests/cases/fourslash/findAllRefsBadImport.ts

8 lines
331 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts'/>
2019-06-13 21:25:02 +02:00
////[|import { [|{| "contextRangeIndex": 0 |}ab|] as [|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 0 |}cd|] } from "doesNotExist";|]
2019-06-06 18:49:31 +02:00
const [r0Def, r0, r1] = test.ranges();
verify.referenceGroups(r0, undefined);
verify.singleReferenceGroup("import cd", [r1]);