From 3bcf3cfa5d258b729a06d12c6935872409ac5490 Mon Sep 17 00:00:00 2001 From: Andreas Coroiu Date: Thu, 13 Nov 2025 09:13:00 +0100 Subject: [PATCH] chore: document why we use any type --- libs/common/src/platform/ipc/ipc-session-repository.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/common/src/platform/ipc/ipc-session-repository.ts b/libs/common/src/platform/ipc/ipc-session-repository.ts index 12e06b214c9..c9f5fe4a355 100644 --- a/libs/common/src/platform/ipc/ipc-session-repository.ts +++ b/libs/common/src/platform/ipc/ipc-session-repository.ts @@ -12,9 +12,11 @@ const IPC_SESSIONS = KeyDefinition.record(IPC_MEMORY, "ipcSessio * Implementation of SDK-defined repository interface/trait. Do not use directly. * All error handling is done by the caller (the SDK). * For more information see IPC docs. + * + * Interface uses `any` type as defined by the SDK until we get a concrete session type. */ export class IpcSessionRepository implements SdkIpcSessionRepository { - private states: GlobalState>; + private states: GlobalState>; constructor(private stateProvider: StateProvider) { this.states = this.stateProvider.getGlobal(IPC_SESSIONS);