mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
fix
This commit is contained in:
Vendored
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user