From dd9c8a7fcc2cad5acceb6f56d737d74d38b5c71d Mon Sep 17 00:00:00 2001 From: Andreas Weber Date: Sun, 5 Nov 2023 22:23:03 +0100 Subject: [PATCH] fix: type issue --- src/models/requestClient.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/requestClient.ts b/src/models/requestClient.ts index ea9119da..7b26faf1 100644 --- a/src/models/requestClient.ts +++ b/src/models/requestClient.ts @@ -81,9 +81,9 @@ export abstract class AbstractRequestClient implements RequestClient { 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)); } }