From: Eduardo San Martin Morote Date: Thu, 20 May 2021 21:25:34 +0000 (+0200) Subject: chore: ts expect error X-Git-Tag: v2.0.0-alpha.19~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a86398a291e9e99fbb31f9abe6f60b5a7b6d26cb;p=thirdparty%2Fvuejs%2Fpinia.git chore: ts expect error --- diff --git a/src/store.ts b/src/store.ts index 88ddf00b..aa19b71e 100644 --- a/src/store.ts +++ b/src/store.ts @@ -411,8 +411,8 @@ export function defineStore< if (!storeAndDescriptor) { storeAndDescriptor = initStore(id, state, pinia.state.value[id]) - // annoying to type - stores.set(id, storeAndDescriptor as any) + // @ts-expect-error: annoying to type + stores.set(id, storeAndDescriptor) store = buildStoreToUse< Id,