浏览代码

Merge pull request #910 from jsfelix/fix/add-token-type-definition

fix: add token to PeerJSOption type definition
Alex Sosnovskiy 3 年之前
父节点
当前提交
f7e8b50f87
共有 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;
   }