Add property (#9220)

This commit is contained in:
Xavier Stouder
2016-05-06 03:59:22 +09:00
committed by Masahiro Wakame
parent 48352f5f29
commit 2102cab39a
+1
View File
@@ -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;