aboutsummaryrefslogtreecommitdiff
path: root/node_modules/nexe/lib/fs/patch.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/nexe/lib/fs/patch.d.ts')
-rw-r--r--node_modules/nexe/lib/fs/patch.d.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/node_modules/nexe/lib/fs/patch.d.ts b/node_modules/nexe/lib/fs/patch.d.ts
new file mode 100644
index 0000000..82c1570
--- /dev/null
+++ b/node_modules/nexe/lib/fs/patch.d.ts
@@ -0,0 +1,18 @@
+/// <reference types="node" />
+import { Stats } from 'fs';
+export interface NexeBinary {
+ blobPath: string;
+ resources: {
+ [key: string]: number[];
+ };
+ layout: {
+ stat: Stats;
+ resourceStart: number;
+ contentSize?: number;
+ contentStart?: number;
+ resourceSize?: number;
+ };
+}
+declare function shimFs(binary: NexeBinary, fs?: any): true | undefined;
+declare function restoreFs(): void;
+export { shimFs, restoreFs };