Fix bad typings in lib

These were missed or broken in the in the inital porting of lib to
TypeScript.
This commit is contained in:
Hornwitser committed 2023-08-12 19:59:44 +02:00
1 parent 6d523096ce
commit 5ec7c9f99c
7 files changed
+25 -39

No files matched your search

+1 -1
View File
@@ -340,7 +340,7 @@ export abstract class WebSocketClientConnector extends WebSocketBaseConnector {
constructor(
protected _url: string,
maxReconnectDelay: number,
protected _tlsCa = null
protected _tlsCa: string | undefined,
) {
super(undefined as any, new libData.Address(libData.Address.controller, 0));
this._backoff = new ExponentialBackoff({ max: maxReconnectDelay });