aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/isexe/dist/esm/win32.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/isexe/dist/esm/win32.d.ts')
-rw-r--r--node_modules/isexe/dist/esm/win32.d.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/node_modules/isexe/dist/esm/win32.d.ts b/node_modules/isexe/dist/esm/win32.d.ts
new file mode 100644
index 0000000..e3f68d1
--- /dev/null
+++ b/node_modules/isexe/dist/esm/win32.d.ts
@@ -0,0 +1,18 @@
+/**
+ * This is the Windows implementation of isexe, which uses the file
+ * extension and PATHEXT setting.
+ *
+ * @module
+ */
+import { IsexeOptions } from './options.js';
+/**
+ * Determine whether a path is executable based on the file extension
+ * and PATHEXT environment variable (or specified pathExt option)
+ */
+export declare const isexe: (path: string, options?: IsexeOptions) => Promise<boolean>;
+/**
+ * Synchronously determine whether a path is executable based on the file
+ * extension and PATHEXT environment variable (or specified pathExt option)
+ */
+export declare const sync: (path: string, options?: IsexeOptions) => boolean;
+//# sourceMappingURL=win32.d.ts.map \ No newline at end of file