Installation
npm install --save @types/find-exec
Summary
This package contains type definitions for find-exec (https://github.com/shime/find-exec).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/find-exec.
index.d.ts
/**
* 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;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Piotr Błażejewicz.