From 4276fb4bc1665fe30f041342590803ebd6d2eb92 Mon Sep 17 00:00:00 2001 From: Siim Raud Date: Thu, 26 Mar 2026 16:05:59 +0200 Subject: [PATCH] fix: replace any with proper timer types in GraphqlService pongTimeout and pingPongInterval were typed as any. Use ReturnType for cross-environment type safety. --- .../src/lib/services/graphql/graphql.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/javascript-api/src/lib/services/graphql/graphql.service.ts b/packages/javascript-api/src/lib/services/graphql/graphql.service.ts index 87458fff..ba598fb6 100644 --- a/packages/javascript-api/src/lib/services/graphql/graphql.service.ts +++ b/packages/javascript-api/src/lib/services/graphql/graphql.service.ts @@ -112,8 +112,8 @@ export class GraphqlService { private readonly subscriptionConnection$: Observable; private temporaryApiKeyService: TemporaryApiKeyService | undefined; - private pongTimeout: any; - private pingPongInterval: any; + private pongTimeout: ReturnType | undefined; + private pingPongInterval: ReturnType | undefined; private readonly sendPingWithThisBound = this.sendPing.bind(this); private readonly handleConnectionDropWithThisBound =