UNPKG

295 BTypeScriptView Raw
1export = commandExists;
2
3declare function commandExists(commandName: string): Promise<string>;
4declare function commandExists(
5 commandName: string,
6 cb: (error: null, exists: boolean) => void,
7): void;
8
9declare namespace commandExists {
10 function sync(commandName: string): boolean;
11}