1 | import { NoParameters } from "@atomist/automation-client/lib/SmartParameters";
|
2 | import { CommandListener } from "../listener/CommandListener";
|
3 | import { CommandRegistration } from "./CommandRegistration";
|
4 | /**
|
5 | * Type for registering a project edit, which can encapsulate changes
|
6 | * to projects. One of listener or createCommand function must be provided.
|
7 | */
|
8 | export interface CommandHandlerRegistration<PARAMS = NoParameters> extends CommandRegistration<PARAMS> {
|
9 | /**
|
10 | * Callback executing the command
|
11 | */
|
12 | listener: CommandListener<PARAMS>;
|
13 | }
|
14 | //# sourceMappingURL=CommandHandlerRegistration.d.ts.map |
\ | No newline at end of file |