Bump to TS 5.0 (#5548)

This commit is contained in:
Jaco
2023-03-17 08:00:08 +02:00
committed by GitHub
parent 9cc2cd8240
commit abb802bc92
3 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ export class WsProvider implements ProviderInterface {
this.#endpointStats = defaultEndpointStats();
this.#timeout = timeout || DEFAULT_TIMEOUT_MS;
if (autoConnectMs > 0) {
if (autoConnectMs && autoConnectMs > 0) {
this.connectWithRetry().catch((): void => {
// does not throw
});