From 748278587d82987d598945f91712027461fadcb5 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Thu, 26 Dec 2024 12:03:20 +0000 Subject: [PATCH] refactor: remove unused requires --- src/zlib/trees.ts | 2 +- src/zlib/zstream.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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