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