Skip to content

Commit

Permalink
fix(types): import type error (#1705)
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyBjorklund committed Oct 4, 2023
1 parent e3c0643 commit 0960b68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/shared.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Packet } from 'mqtt-packet'
import type internal from 'stream'
import type { Duplex } from 'stream'
import type MqttClient from './client'
import type { IClientOptions } from './client'

Expand All @@ -9,7 +9,7 @@ export type GenericCallback<T> = (error?: Error, result?: T) => void

export type VoidCallback = () => void

export type IStream = internal.Duplex
export type IStream = Duplex

export type StreamBuilder = (
client: MqttClient,
Expand Down

0 comments on commit 0960b68

Please sign in to comment.