@kui-shell/core
Version:
An Electron-based shell for cloud-native development
8 lines (7 loc) • 430 B
TypeScript
import { CommandHandlerWithEvents, CommandTreeResolution, KResponse, ParsedOptions } from '../models/command';
/**
* A call to `read` may or may not have successfully resolved the
* given `argv.` This method clarifies the situation.
*
*/
export declare function isSuccessfulCommandResolution<T extends KResponse, O extends ParsedOptions>(resolution: CommandTreeResolution<T, O>): resolution is CommandHandlerWithEvents<T, O>;