manzt / zarrita.js

A JavaScript toolkit for working with chunked, compressed, n-dimensional arrays
https://zarrita.dev
MIT License
38 stars 5 forks source link

fix(core): Avoid importing types from top-level @zarrita/storage #146

Closed manzt closed 6 months ago

manzt commented 6 months ago

Changes

import { type ... } from "@zarrita/storage";

to

import type { ... } from "@zarrita/storage"

so the import is dropped by TypeScript in the build output. Prevents bundlers from typing to import from @zarrita/storage.