// === /c.ts === // import { [|foo|] } from "./b"; // === /a.ts === // export function /*FIND ALL REFS*/[|foo|](): void {} [ { "definition": { "containerKind": "", "containerName": "", "fileName": "/a.ts", "kind": "function", "name": "function foo(): void", "textSpan": { "start": 16, "length": 3 }, "displayParts": [ { "text": "function", "kind": "keyword" }, { "text": " ", "kind": "space" }, { "text": "foo", "kind": "functionName" }, { "text": "(", "kind": "punctuation" }, { "text": ")", "kind": "punctuation" }, { "text": ":", "kind": "punctuation" }, { "text": " ", "kind": "space" }, { "text": "void", "kind": "keyword" } ], "contextSpan": { "start": 0, "length": 30 } }, "references": [ { "textSpan": { "start": 16, "length": 3 }, "fileName": "/a.ts", "contextSpan": { "start": 0, "length": 30 }, "isWriteAccess": true, "isDefinition": true } ] }, { "definition": { "containerKind": "", "containerName": "", "fileName": "/c.ts", "kind": "alias", "name": "(alias) function foo(): void\nimport foo", "textSpan": { "start": 9, "length": 3 }, "displayParts": [ { "text": "(", "kind": "punctuation" }, { "text": "alias", "kind": "text" }, { "text": ")", "kind": "punctuation" }, { "text": " ", "kind": "space" }, { "text": "function", "kind": "keyword" }, { "text": " ", "kind": "space" }, { "text": "foo", "kind": "aliasName" }, { "text": "(", "kind": "punctuation" }, { "text": ")", "kind": "punctuation" }, { "text": ":", "kind": "punctuation" }, { "text": " ", "kind": "space" }, { "text": "void", "kind": "keyword" }, { "text": "\n", "kind": "lineBreak" }, { "text": "import", "kind": "keyword" }, { "text": " ", "kind": "space" }, { "text": "foo", "kind": "aliasName" } ], "contextSpan": { "start": 0, "length": 26 } }, "references": [ { "textSpan": { "start": 9, "length": 3 }, "fileName": "/c.ts", "contextSpan": { "start": 0, "length": 26 }, "isWriteAccess": true, "isDefinition": false } ] } ] // === /c.ts === // import { /*FIND ALL REFS*/[|foo|] } from "./b"; // === /a.ts === // export function [|foo|](): void {} [ { "definition": { "containerKind": "", "containerName": "", "fileName": "/c.ts", "kind": "alias", "name": "(alias) function foo(): void\nimport foo", "textSpan": { "start": 9, "length": 3 }, "displayParts": [ { "text": "(", "kind": "punctuation" }, { "text": "alias", "kind": "text" }, { "text": ")", "kind": "punctuation" }, { "text": " ", "kind": "space" }, { "text": "function", "kind": "keyword" }, { "text": " ", "kind": "space" }, { "text": "foo", "kind": "aliasName" }, { "text": "(", "kind": "punctuation" }, { "text": ")", "kind": "punctuation" }, { "text": ":", "kind": "punctuation" }, { "text": " ", "kind": "space" }, { "text": "void", "kind": "keyword" }, { "text": "\n", "kind": "lineBreak" }, { "text": "import", "kind": "keyword" }, { "text": " ", "kind": "space" }, { "text": "foo", "kind": "aliasName" } ], "contextSpan": { "start": 0, "length": 26 } }, "references": [ { "textSpan": { "start": 9, "length": 3 }, "fileName": "/c.ts", "contextSpan": { "start": 0, "length": 26 }, "isWriteAccess": true, "isDefinition": true } ] }, { "definition": { "containerKind": "", "containerName": "", "fileName": "/a.ts", "kind": "function", "name": "function foo(): void", "textSpan": { "start": 16, "length": 3 }, "displayParts": [ { "text": "function", "kind": "keyword" }, { "text": " ", "kind": "space" }, { "text": "foo", "kind": "functionName" }, { "text": "(", "kind": "punctuation" }, { "text": ")", "kind": "punctuation" }, { "text": ":", "kind": "punctuation" }, { "text": " ", "kind": "space" }, { "text": "void", "kind": "keyword" } ], "contextSpan": { "start": 0, "length": 30 } }, "references": [ { "textSpan": { "start": 16, "length": 3 }, "fileName": "/a.ts", "contextSpan": { "start": 0, "length": 30 }, "isWriteAccess": true, "isDefinition": false } ] } ]