mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
fix typescript return path warning
This commit is contained in:
parent
de5e3cf745
commit
c43cfefdd8
@ -1133,7 +1133,7 @@ export function linkToCommand(_: Ctx): Cmd {
|
|||||||
export function viewMemoryLayout(ctx: CtxInit): Cmd {
|
export function viewMemoryLayout(ctx: CtxInit): Cmd {
|
||||||
return async () => {
|
return async () => {
|
||||||
const editor = vscode.window.activeTextEditor;
|
const editor = vscode.window.activeTextEditor;
|
||||||
if (!editor) return "";
|
if (!editor) return;
|
||||||
const client = ctx.client;
|
const client = ctx.client;
|
||||||
|
|
||||||
const position = editor.selection.active;
|
const position = editor.selection.active;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user