UNPKG

669 BTypeScriptView Raw
1/**
2 * This is the Windows implementation of isexe, which uses the file
3 * extension and PATHEXT setting.
4 *
5 * @module
6 */
7import { IsexeOptions } from './options';
8/**
9 * Determine whether a path is executable based on the file extension
10 * and PATHEXT environment variable (or specified pathExt option)
11 */
12export declare const isexe: (path: string, options?: IsexeOptions) => Promise<boolean>;
13/**
14 * Synchronously determine whether a path is executable based on the file
15 * extension and PATHEXT environment variable (or specified pathExt option)
16 */
17export declare const sync: (path: string, options?: IsexeOptions) => boolean;
18//# sourceMappingURL=win32.d.ts.map
\No newline at end of file