Files
vscode/src/vscode-dts/vscode.proposed.scmActionButton.d.ts
2024-09-27 12:08:48 +02:00

19 lines
668 B
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
declare module 'vscode' {
// https://github.com/microsoft/vscode/issues/133935
export interface SourceControlActionButton {
command: Command & { shortTitle?: string };
secondaryCommands?: Command[][];
enabled: boolean;
}
export interface SourceControl {
actionButton?: SourceControlActionButton;
}
}