From 3c2a403ff3ed2a0b0ada0694551c3c7963266729 Mon Sep 17 00:00:00 2001 From: Alberto Fernandez Date: Tue, 22 Nov 2016 22:44:53 +0000 Subject: [PATCH] Fixed ClientOptions tracker on webtorrent --- webtorrent/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webtorrent/index.d.ts b/webtorrent/index.d.ts index 6fd26b08f2..3760e043ea 100644 --- a/webtorrent/index.d.ts +++ b/webtorrent/index.d.ts @@ -19,7 +19,7 @@ declare namespace WebTorrent { nodeId?: string|Buffer, // DHT protocol node ID (default=randomly generated) peerId?: string|Buffer, // Wire protocol peer ID (default=randomly generated) rtcConfig?: Object, // RTCPeerConnection configuration object (default=STUN only) - tracker?: boolean, // Whether or not to enable trackers (default=true) + tracker?: boolean|Object, // Whether or not to enable trackers (default=true) wrtc?: Object // Custom webrtc implementation (in node, specify the [wrtc](https://www.npmjs.com/package/wrtc) package) }