Git - Add events to IPostCommitCommandsProviderRegistry (#155051)

* Add events to IPostCommitCommandsProviderRegistry

* Pull request feedback
This commit is contained in:
Ladislau Szomoru
2022-07-14 10:46:57 +02:00
committed by GitHub
parent c0e9fca625
commit 70a1ebd595
3 changed files with 13 additions and 2 deletions

View File

@@ -4,10 +4,12 @@
*--------------------------------------------------------------------------------------------*/
import * as nls from 'vscode-nls';
import { Command, Disposable } from 'vscode';
import { Command, Disposable, Event } from 'vscode';
import { PostCommitCommandsProvider } from './api/git';
export interface IPostCommitCommandsProviderRegistry {
readonly onDidChangePostCommitCommandsProviders: Event<void>;
getPostCommitCommandsProviders(): PostCommitCommandsProvider[];
registerPostCommitCommandsProvider(provider: PostCommitCommandsProvider): Disposable;
}