diff --git a/src/zlib/trees.ts b/src/zlib/trees.ts index 99a6483..605d7b0 100644 --- a/src/zlib/trees.ts +++ b/src/zlib/trees.ts @@ -3,7 +3,7 @@ import type * as TypedArrays from "../utils/typedArrays"; type NumericArrayLike = TypedArrays.NumericArrayLike; -const { Uint16Array, Uint8Array } = require("../utils/typedArrays") as typeof TypedArrays; +const { Uint8Array } = require("../utils/typedArrays") as typeof TypedArrays; import { DeflateState } from "./deflate"; // (C) 1995-2013 Jean-loup Gailly and Mark Adler diff --git a/src/zlib/zstream.ts b/src/zlib/zstream.ts index 2537a5d..fc80b5e 100644 --- a/src/zlib/zstream.ts +++ b/src/zlib/zstream.ts @@ -2,7 +2,6 @@ import type * as TypedArrays from "../utils/typedArrays"; -const { Uint8Array } = require("../utils/typedArrays") as typeof TypedArrays; const { Z_UNKNOWN } = require("./constants") as typeof import("./constants"); // (C) 1995-2013 Jean-loup Gailly and Mark Adler