fix: make uris optional
This commit is contained in:
parent
2d8222b7a0
commit
a4c5dd5b5b
|
@ -30,7 +30,7 @@ export interface Peer {
|
||||||
renderLocationUri(): string;
|
renderLocationUri(): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type PeerConstructorOptions = { socket: any; uris: URL[] };
|
export type PeerConstructorOptions = { socket: any; uris?: URL[] };
|
||||||
|
|
||||||
// Define the static side of the class
|
// Define the static side of the class
|
||||||
export interface PeerStatic {
|
export interface PeerStatic {
|
||||||
|
|
Loading…
Reference in New Issue