UNPKG

sussudio

Version:

An unofficial VS Code Internal API

21 lines (20 loc) 1.26 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { ResolvedKeybinding } from "../../../base/common/keybindings.mjs"; import { ContextKeyExpression } from "../../contextkey/common/contextkey.mjs"; export declare class ResolvedKeybindingItem { _resolvedKeybindingItemBrand: void; readonly resolvedKeybinding: ResolvedKeybinding | undefined; readonly chords: string[]; readonly bubble: boolean; readonly command: string | null; readonly commandArgs: any; readonly when: ContextKeyExpression | undefined; readonly isDefault: boolean; readonly extensionId: string | null; readonly isBuiltinExtension: boolean; constructor(resolvedKeybinding: ResolvedKeybinding | undefined, command: string | null, commandArgs: any, when: ContextKeyExpression | undefined, isDefault: boolean, extensionId: string | null, isBuiltinExtension: boolean); } export declare function toEmptyArrayIfContainsNull<T>(arr: (T | null)[]): T[];