@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
15 lines (13 loc) • 626 B
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { IDisposable } from '@sussudio/base/common/lifecycle.mjs';
export interface ActionSet<T> extends IDisposable {
readonly validActions: readonly T[];
readonly allActions: readonly T[];
readonly hasAutoFix: boolean;
}
export interface IActionItem {
action: any;
}