From 171674da034e15845b8444eaa443e594c300ce8e Mon Sep 17 00:00:00 2001 From: Krzysztof Kowalczyk Date: Sun, 10 Sep 2023 00:54:24 +0200 Subject: [PATCH] fix typing --- web/libarchive/libarchive.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/libarchive/libarchive.js b/web/libarchive/libarchive.js index 2310796..2bbec19 100644 --- a/web/libarchive/libarchive.js +++ b/web/libarchive/libarchive.js @@ -3,6 +3,8 @@ import { CompressedFile } from "./compressed-file.js"; export class Archive { + static _options = {}; + /** * Initialize libarchivejs * @param {Object} options @@ -19,7 +21,7 @@ export class Archive { * Creates new archive instance from browser native File object * @param {File} file * @param {object} options - * @returns {Archive} + * @returns {Promise} */ static open(file, options = null) { options = options ||