Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit 2fefe0e

Browse files
committed
chore: fix types
1 parent db33b64 commit 2fefe0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/client/store/tab.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type { ComputedRef, Ref } from 'vue'
12
import type { AllTabGroup, BuiltinTab, Tab } from '../../types'
23
import { useDevToolsSettings } from '../composables/settings'
34
import { TABS_GROUP_STORAGE_KEY, TABS_STORAGE_KEY } from '../constants'
@@ -115,7 +116,7 @@ watch([settings.hiddenTabs, settings.hiddenTabGroups], ([tabsNames, groupNames])
115116
updateDisabledTabs(allTabsNames, groupNames)
116117
})
117118
// ---- Composables ----
118-
export function useTabStore() {
119+
export function useTabStore(): ({ enabled: ComputedRef<Tab[]>; all: Ref<Tab[]> }) {
119120
return {
120121
enabled: enabledTabs,
121122
all: allTabs,

0 commit comments

Comments
 (0)