mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-03 18:41:39 +00:00
22 lines
597 B
TypeScript
22 lines
597 B
TypeScript
declare module "zigbee2mqtt-frontend" {
|
|
const frontend: {
|
|
getPath: () => string;
|
|
};
|
|
|
|
export default frontend;
|
|
}
|
|
|
|
declare module "http" {
|
|
interface IncomingMessage {
|
|
originalUrl?: string;
|
|
path?: string;
|
|
}
|
|
}
|
|
|
|
declare module "express-static-gzip" {
|
|
import type {IncomingMessage, ServerResponse} from "node:http";
|
|
|
|
export type RequestHandler = (req: IncomingMessage, res: ServerResponse, finalhandler: (err: unknown) => void) => void;
|
|
export default function expressStaticGzip(root: string, options?: Record<string, unknown>): RequestHandler;
|
|
}
|