Files
skills-here-run-place/node_modules/astro/dist/cli/domain/command.d.ts
Alejandro Martinez f09af719cf Initial commit
2026-02-12 02:04:10 +01:00

9 lines
302 B
TypeScript

import type { HelpPayload } from './help-payload.js';
interface Command<T extends (...args: Array<any>) => any> {
help: HelpPayload;
run: T;
}
export type AnyCommand = Command<(...args: Array<any>) => any>;
export declare function defineCommand<T extends AnyCommand>(command: T): T;
export {};