Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
czerwiukk committed Nov 7, 2024
1 parent 044f514 commit 834cea9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/ts-client/src/guards.ts
Original file line number Diff line number Diff line change
@@ -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 = <PeerMetadata, TrackMetadata>(
endpoint: Endpoint,
Expand Down
2 changes: 1 addition & 1 deletion packages/ts-client/src/reconnection.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
4 changes: 2 additions & 2 deletions packages/ts-client/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<PeerMetadata> = {
peer: PeerMetadata;
Expand Down

0 comments on commit 834cea9

Please sign in to comment.