From 58482e1fe23f837b576b9762619598edd7a98f47 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Mon, 17 May 2021 18:58:58 +0200 Subject: [PATCH] refactor: add ts-expect-error --- src/mapHelpers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mapHelpers.ts b/src/mapHelpers.ts index c8f8bd35..165c7ec6 100644 --- a/src/mapHelpers.ts +++ b/src/mapHelpers.ts @@ -65,6 +65,7 @@ function getCachedStore< ): Store { const cache = '_pStores' in vm ? vm._pStores! : (vm._pStores = {}) const id = useStore.$id + // @ts-expect-error: again the Id to string fail return (cache[id] || (cache[id] = useStore(vm.$pinia))) as Store } -- 2.47.3