diff --git a/packages/hoppscotch-common/src/services/tab/tab.ts b/packages/hoppscotch-common/src/services/tab/tab.ts index cf3699040..53da2a626 100644 --- a/packages/hoppscotch-common/src/services/tab/tab.ts +++ b/packages/hoppscotch-common/src/services/tab/tab.ts @@ -20,7 +20,10 @@ export abstract class TabService extends Service implements TabServiceInterface { - protected tabMap = reactive(new Map>()) + protected tabMap = reactive(new Map>()) as Map< + string, + HoppTab + > // TODO: The implicit cast is necessary as the reactive unwraps the inner types, creating weird type errors, this needs to be refactored and removed protected tabOrdering = ref(["test"]) public currentTabID = refWithControl("test", {