Command<F>: F & {
    id: string;
    connect(ctx: CommandsContext & Partial<{
        keyboard: {
            keyBindingContributions: KeyBindingContributionRegistry;
        };
    }>, handler?: F): void;
    defineHandler(handler: F): F;
}

Type Parameters

  • F extends AnyFunction = (() => void)

Generated using TypeDoc