connection.sendRequest(“textDocument/definition”, { textDocument: { uri: `file://${filePath}` }, position: { line: 1, character: 2 }, }) Response: [{ targetRange: { start: { line: 3, character: 0 }, end: { line: 10, character: 1 } }, targetUri: 'file:///path/to/lib.ts', ...