securityos/node_modules/wasi-js/dist/unzip.d.ts

12 lines
311 B
TypeScript

export declare type UnzipOptions = {
data: ArrayBuffer | Uint8Array;
fs: {
mkdirSync: Function;
statSync: Function;
writeFileSync: Function;
chmodSync: Function;
};
directory: string;
};
export default function unzip({ data, fs, directory }: UnzipOptions): void;