UNPKG

@atomist/sdm

Version:

Atomist Software Delivery Machine SDK

14 lines 613 B
import { NoParameters } from "@atomist/automation-client/lib/SmartParameters"; import { CommandListener } from "../listener/CommandListener"; import { CommandRegistration } from "./CommandRegistration"; /** * Type for registering a project edit, which can encapsulate changes * to projects. One of listener or createCommand function must be provided. */ export interface CommandHandlerRegistration<PARAMS = NoParameters> extends CommandRegistration<PARAMS> { /** * Callback executing the command */ listener: CommandListener<PARAMS>; } //# sourceMappingURL=CommandHandlerRegistration.d.ts.map