UNPKG

@types/command-exists

Version:
12 lines (9 loc) 295 B
export = commandExists; declare function commandExists(commandName: string): Promise<string>; declare function commandExists( commandName: string, cb: (error: null, exists: boolean) => void, ): void; declare namespace commandExists { function sync(commandName: string): boolean; }