From 2e4eb822d4c45f1283bfd855c46b6e8db7e17edc Mon Sep 17 00:00:00 2001 From: Flarna Date: Fri, 10 Feb 2017 23:17:39 +0100 Subject: [PATCH] silent lint for bittorrent-protocol --- bittorrent-protocol/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bittorrent-protocol/index.d.ts b/bittorrent-protocol/index.d.ts index 688527e71f..be1a60b179 100644 --- a/bittorrent-protocol/index.d.ts +++ b/bittorrent-protocol/index.d.ts @@ -16,6 +16,7 @@ declare namespace BittorrentProtocol { } export interface Extension { + //tslint:disable-next-line:no-misused-new - could use class instead of interface but class is not extendible constructor(wire: Wire): this; onHandshake?: () => void; onExtendedHandshake?: () => void; @@ -24,6 +25,7 @@ declare namespace BittorrentProtocol { } export interface Request { + //tslint:disable-next-line:no-misused-new - could use class instead of interface but class is not extendible constructor(piece: number, offset: number, length: number, callback: () => void): this; piece: number; offset: number;