mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-06-25 06:31:40 +00:00
1dd6cc3da5
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com>
19 lines
943 B
TypeScript
19 lines
943 B
TypeScript
// minimal required because of sub-deps in mqtt >= 5.14.0 to avoid requiring `dom` type
|
|
declare global {
|
|
// map to node, doesn't really matter, just needs to be there, and the right "type vs value" to avoid lib check problems
|
|
/** @deprecated DOM SHIM, DO NOT USE */
|
|
type MessagePort = import("node:worker_threads").MessagePort;
|
|
/** @deprecated DOM SHIM, DO NOT USE */
|
|
type Worker = import("node:worker_threads").Worker;
|
|
/** @deprecated DOM SHIM, DO NOT USE */
|
|
type Transferable = import("node:worker_threads").Transferable;
|
|
/** @deprecated DOM SHIM, DO NOT USE */
|
|
const addEventListener: import("node:events").EventEmitter["addListener"];
|
|
/** @deprecated DOM SHIM, DO NOT USE */
|
|
const removeEventListener: import("node:events").EventEmitter["removeListener"];
|
|
/** @deprecated DOM SHIM, DO NOT USE */
|
|
const postMessage: import("node:worker_threads").MessagePort["postMessage"];
|
|
}
|
|
|
|
export {};
|