Browse Source

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

fix: add token to PeerJSOption type definition
Alex Sosnovskiy 3 năm trước cách đây
mục cha
commit
f7e8b50f87
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;
   }