Skip to content

Commit

Permalink
const options: zlib.ZlibOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
bddjr committed Jan 11, 2025
1 parent cf0bd95 commit 25f1ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import zlib from 'zlib'
export type compressFormat = "deflate-raw" | "deflate" | "gzip"

export function compress(format: compressFormat, buf: zlib.InputType, useBase128: boolean) {
const options = {
const options: zlib.ZlibOptions = {
level: zlib.constants.Z_BEST_COMPRESSION,
}
let outBuf: Buffer
Expand Down

0 comments on commit 25f1ad1

Please sign in to comment.