diff --git a/src/types.ts b/src/types.ts index bfe03ef..454f544 100644 --- a/src/types.ts +++ b/src/types.ts @@ -30,7 +30,7 @@ export interface Peer { renderLocationUri(): string; } -export type PeerConstructorOptions = { socket: any; uris: URL[] }; +export type PeerConstructorOptions = { socket: any; uris?: URL[] }; // Define the static side of the class export interface PeerStatic {