mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
Fix more type assertions (#230156)
* Fix more type assertions For #211878 * Fix type error
This commit is contained in:
@@ -49,10 +49,10 @@ export class MdLinkOpener {
|
||||
}
|
||||
}
|
||||
|
||||
return vscode.commands.executeCommand('vscode.open', uri, <vscode.TextDocumentShowOptions>{
|
||||
return vscode.commands.executeCommand('vscode.open', uri, {
|
||||
selection: resolved.position ? new vscode.Range(resolved.position.line, resolved.position.character, resolved.position.line, resolved.position.character) : undefined,
|
||||
viewColumn: viewColumn ?? getViewColumn(fromResource),
|
||||
});
|
||||
} satisfies vscode.TextDocumentShowOptions);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user