mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-18 09:38:54 +00:00
18 lines
546 B
TypeScript
18 lines
546 B
TypeScript
declare module "zigbee2mqtt-frontend" {
|
|
export function getPath(): string;
|
|
}
|
|
|
|
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;
|
|
}
|