mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-04 02:51:44 +00:00
17 lines
540 B
TypeScript
17 lines
540 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 {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;
|
|
}
|