Skip to content

Commit

Permalink
feat: removed abort event in client
Browse files Browse the repository at this point in the history
  • Loading branch information
xnerhu committed Jul 1, 2020
1 parent 9475008 commit 7cd7f87
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/client.ts
Expand Up @@ -28,7 +28,6 @@ import { createWriteStream, createReadStream } from 'fs';
type IClientEvents =
| 'connect'
| 'disconnect'
| 'abort'
| 'transfer-new'
| 'transfer-abort'
| 'transfer-finish'
Expand All @@ -37,7 +36,6 @@ type IClientEvents =
export declare interface Client {
on(event: 'connect', listener: () => void): this;
on(event: 'disconnect', listener: () => void): this;
on(event: 'abort', listener: () => void): this;
on(event: 'transfer-new', listener: (e: ITransfer) => void): this;
on(event: 'transfer-abort', listener: (...ids: number[]) => void): this;
on(event: 'transfer-finish', listener: (e: ITransfer) => void): this;
Expand Down

0 comments on commit 7cd7f87

Please sign in to comment.