afrokick 6 жил өмнө
parent
commit
a2d1e3dbc5
1 өөрчлөгдсөн 9 нэмэгдсэн , 9 устгасан
  1. 9 9
      lib/peer.ts

+ 9 - 9
lib/peer.ts

@@ -16,15 +16,15 @@ import { PeerConnectOption, PeerJSOption } from "..";
 import { API } from "./api";
 
 class PeerOptions implements PeerJSOption {
-  debug: number; // 1: Errors, 2: Warnings, 3: All logs
-  host: string;
-  port: number;
-  path: string;
-  key: string;
-  token: string;
-  config: any;
-  secure: boolean;
-  logFunction: any;
+  debug?: number; // 1: Errors, 2: Warnings, 3: All logs
+  host?: string;
+  port?: number;
+  path?: string;
+  key?: string;
+  token?: string;
+  config?: any;
+  secure?: boolean;
+  logFunction?: any;
 }
 
 /**