diff --git a/torrent-stream/torrent-stream.d.ts b/torrent-stream/torrent-stream.d.ts index ccb81613bf..bf804f1d73 100644 --- a/torrent-stream/torrent-stream.d.ts +++ b/torrent-stream/torrent-stream.d.ts @@ -15,6 +15,7 @@ declare namespace TorrentStream { remove(keepPieces: boolean, callback: () => void): void; listen(port: number, callback: () => void): void; swarm: Swarm; + infoHash: string; // Events on(event: "ready" | "torrent" | "idle", callback: Function): void;