chore: make ts happy with zip import (#34108)

This commit is contained in:
Pavel Feldman 2024-12-19 22:59:05 -08:00 committed by GitHub
parent 04e670c909
commit a94952b87f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
import type zip from '@zip.js/zip.js'; import type * as zip from '@zip.js/zip.js';
// @ts-ignore // @ts-ignore
import * as zipImport from '@zip.js/zip.js/lib/zip-no-worker-inflate.js'; import * as zipImport from '@zip.js/zip.js/lib/zip-no-worker-inflate.js';
import type { TraceModelBackend } from './traceModel'; import type { TraceModelBackend } from './traceModel';