This commit is contained in:
Tomek Łaziuk
2017-02-07 10:58:02 +01:00
parent 5a1e852204
commit a8aab5614b
+2 -2
View File
@@ -61,8 +61,6 @@ declare namespace WebTorrent {
readonly progress: number;
readonly ratio: number;
readonly name: string;
}
export interface Torrent extends NodeJS.EventEmitter {
@@ -98,6 +96,8 @@ declare namespace WebTorrent {
readonly ready: boolean;
readonly name: string;
destroy(cb?: (err: Error | string) => void): void;
addPeer(peer: string | SimplePeer): boolean;