MiniSearch / server /http-compression.d.ts
Nymbo's picture
Sync with upstream felladrin/MiniSearch (2026-10-01)
ff7a361 verified
Raw History Blame Contribute Delete
405 Bytes
declare module "http-compression" {
import { IncomingMessage, ServerResponse } from "node:http";
interface Options {
gzip?: {
threshold?: number;
flush?: number;
};
brotli?: {
threshold?: number;
flush?: number;
};
}
export default function compression(
options?: Options,
): (req: IncomingMessage, res: ServerResponse, next: () => void) => void;
}