Add ocmment for preserveFocus

This commit is contained in:
Logan Ramos 2022-03-15 09:56:51 -04:00
parent ed5a545047
commit 14d52d9523
No known key found for this signature in database
GPG key ID: D9CCFF14F0B18183

View file

@ -85,6 +85,7 @@ declare module 'vscode' {
/**
* Closes the tab. This makes the tab object invalid and the tab
* should no longer be used for further actions.
* @param preserveFocus When `true` focus will remain in its current position. If `false` it will jump to the next tab.
*/
// TODO@API move into TabGroups, support one or many tabs or tab groups
close(preserveFocus: boolean): Thenable<void>;