From a8aab5614bb014c0302982d88185deaf59dcc5f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20=C5=81aziuk?= Date: Tue, 7 Feb 2017 10:58:02 +0100 Subject: [PATCH] fix --- webtorrent/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webtorrent/index.d.ts b/webtorrent/index.d.ts index 554094421e..207015f871 100644 --- a/webtorrent/index.d.ts +++ b/webtorrent/index.d.ts @@ -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;