浏览代码

fix: add token to PeerJSOption type definition

Jefferson Felix 3 年之前
父节点
当前提交
e7675e1474
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      index.d.ts

+ 1 - 0
index.d.ts

@@ -136,6 +136,7 @@ declare namespace Peer {
     port?: number;
     path?: string;
     secure?: boolean;
+    token?: string;
     config?: RTCConfiguration;
     debug?: number;
   }