mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-07 01:12:54 +00:00
13 lines
489 B
TypeScript
13 lines
489 B
TypeScript
// Type definitions for find-exec 1.0
|
|
// Project: https://github.com/shime/find-exec
|
|
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/**
|
|
* Takes a list of shell commands and returns the first available.
|
|
* Works synchronously to respect the order.
|
|
*/
|
|
declare function findExec(execs: string[]): string | null;
|
|
declare function findExec(...args: string[]): string | null;
|
|
export = findExec;
|