diff --git a/packages/ts-client/src/guards.ts b/packages/ts-client/src/guards.ts index a66b2627..72bd497b 100644 --- a/packages/ts-client/src/guards.ts +++ b/packages/ts-client/src/guards.ts @@ -1,5 +1,5 @@ -import { Peer, Component } from './types'; -import { Endpoint } from './webrtc'; +import type { Peer, Component } from './types'; +import type { Endpoint } from './webrtc'; export const isPeer = ( endpoint: Endpoint, diff --git a/packages/ts-client/src/reconnection.ts b/packages/ts-client/src/reconnection.ts index 1549e9ff..49f6b955 100644 --- a/packages/ts-client/src/reconnection.ts +++ b/packages/ts-client/src/reconnection.ts @@ -1,7 +1,7 @@ import type { Endpoint } from './webrtc'; import type { FishjamClient } from './FishjamClient'; import { isAuthError } from './auth'; -import { MessageEvents } from './types'; +import type { MessageEvents } from './types'; export type ReconnectionStatus = 'reconnecting' | 'idle' | 'error'; diff --git a/packages/ts-client/src/types.ts b/packages/ts-client/src/types.ts index 204aa88d..b201c134 100644 --- a/packages/ts-client/src/types.ts +++ b/packages/ts-client/src/types.ts @@ -8,8 +8,8 @@ import type { Encoding, WebRTCEndpointEvents, } from './webrtc'; -import { AuthErrorReason } from './auth'; -import { ReconnectConfig } from './reconnection'; +import type { AuthErrorReason } from './auth'; +import type { ReconnectConfig } from './reconnection'; export type PeerServerMetadata = { peer: PeerMetadata;