Spaces:
Running
Running
File size: 405 Bytes
7104219 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 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;
}
|