mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
fix typescript return path warning
This commit is contained in:
parent
de5e3cf745
commit
c43cfefdd8
1 changed files with 1 additions and 1 deletions
|
@ -1133,7 +1133,7 @@ export function linkToCommand(_: Ctx): Cmd {
|
|||
export function viewMemoryLayout(ctx: CtxInit): Cmd {
|
||||
return async () => {
|
||||
const editor = vscode.window.activeTextEditor;
|
||||
if (!editor) return "";
|
||||
if (!editor) return;
|
||||
const client = ctx.client;
|
||||
|
||||
const position = editor.selection.active;
|
||||
|
|
Loading…
Reference in a new issue