diff --git a/packages/serial/src/serialport/ZWaveSerialStream.ts b/packages/serial/src/serialport/ZWaveSerialStream.ts index ea274d155f23..ef6a4e8e7a20 100644 --- a/packages/serial/src/serialport/ZWaveSerialStream.ts +++ b/packages/serial/src/serialport/ZWaveSerialStream.ts @@ -11,11 +11,10 @@ import { type ZWaveLogContainer } from "@zwave-js/core"; import { noop } from "@zwave-js/shared"; -import { - ReadableStream, - type ReadableWritablePair, - type UnderlyingSink, - type UnderlyingSource, +import type { + ReadableWritablePair, + UnderlyingSink, + UnderlyingSource, } from "node:stream/web"; import { SerialLogger } from "../log/Logger.js"; import { MessageHeaders } from "../message/MessageHeaders.js"; diff --git a/packages/serial/src/zniffer/ZnifferSerialStream.ts b/packages/serial/src/zniffer/ZnifferSerialStream.ts index d7ddf3389132..66c102f3a895 100644 --- a/packages/serial/src/zniffer/ZnifferSerialStream.ts +++ b/packages/serial/src/zniffer/ZnifferSerialStream.ts @@ -11,11 +11,10 @@ import { type ZWaveLogContainer } from "@zwave-js/core"; import { noop } from "@zwave-js/shared"; -import { - ReadableStream, - type ReadableWritablePair, - type UnderlyingSink, - type UnderlyingSource, +import type { + ReadableWritablePair, + UnderlyingSink, + UnderlyingSource, } from "node:stream/web"; import { SerialLogger } from "../log/Logger.js"; import { ZnifferParser } from "../parsers/ZnifferParser.js";