Skip to content

Commit

Permalink
fix: type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AnWeber committed Nov 5, 2023
1 parent 3903f58 commit dd9c8a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/requestClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ export abstract class AbstractRequestClient<T> implements RequestClient<T> {
this.eventEmitter.dispatchEvent(new RequestClientEvent('metaData', [type, response]));
}
protected onDisconnect() {
this.eventEmitter.dispatchEvent(new RequestClientEvent('disconnect'));
this.eventEmitter.dispatchEvent(new RequestClientEvent('disconnect', undefined));
}
public triggerEnd() {
this.eventEmitter.dispatchEvent(new RequestClientEvent('end'));
this.eventEmitter.dispatchEvent(new RequestClientEvent('end', undefined));
}
}

0 comments on commit dd9c8a7

Please sign in to comment.