From 3679100c4d424a57803514ac6db685bfe4c151c5 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Thu, 15 Sep 2022 14:37:25 +0530 Subject: [PATCH] feat(nc-gui): Added types for metasWithIdAsKey in useMetas --- packages/nc-gui/composables/useMetas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/composables/useMetas.ts b/packages/nc-gui/composables/useMetas.ts index aa9708c77b..8f3aa68203 100644 --- a/packages/nc-gui/composables/useMetas.ts +++ b/packages/nc-gui/composables/useMetas.ts @@ -11,7 +11,7 @@ export function useMetas() { const metas = useState<{ [idOrTitle: string]: TableType | any }>('metas', () => ({})) - const metasWithIdAsKey = computed(() => { + const metasWithIdAsKey = computed>(() => { const idEntries = Object.entries(metas.value).filter(([k, v]) => k === v.id) return Object.fromEntries(idEntries) })