method ZipDirectoryEntry.prototype.addFileimport { ZipDirectoryEntry } from "https://dotland.deno.dev/x/zipjs@v2.7.52/index.js"; addFile(file: File, options?: ZipWriterAddDataOptions): Promise<ZipEntry>Adds an entry with content provided via a File instance Adds an entry with content provided via a File instance Parametersfile: FileThe File instance. optionaloptions: ZipWriterAddDataOptionsThe options. ReturnsPromise<ZipEntry>A promise resolving to a ZipFileEntry or a ZipDirectoryEntry instance.