method ZipDirectoryEntry.prototype.addFileimport { ZipDirectoryEntry } from "https://dotland.deno.dev/x/zipjs@v2.7.53/index.d.ts"; 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.