UNPKG

astro

Version:

Astro is a modern site builder with web best practices, performance, and DX front-of-mind.

9 lines (8 loc) 302 B
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 {};