Repository URL to install this package:
|
Version:
0.6.0 ▾
|
gateway-proxy
/
usr
/
share
/
gateway-proxy
/
app
/
node_modules
/
furious-commander
/
dist
/
command.d.ts
|
|---|
import { GroupCommand, LeafCommand } from 'madlad';
export declare type Command = (LeafCommand & Partial<{
[key: string]: any;
}>) | (GroupCommand & Partial<{
[key: string]: any;
}>);
export declare type InitedCommand = {
command: Command;
subCommands: InitedCommand[];
};
export declare function isGroupCommand(command: Command): command is GroupCommand;
export declare function isLeafCommand(command: Command): command is LeafCommand;