From: Eduardo San Martin Morote Date: Tue, 2 Apr 2024 12:39:40 +0000 (+0200) Subject: chore: unused test X-Git-Tag: @pinia/nuxt@0.5.2-beta.0~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fca4fa6eab31bdcf77c4efc3c0036ebd8030aa27;p=thirdparty%2Fvuejs%2Fpinia.git chore: unused test --- diff --git a/packages/pinia/test-dts/customizations.test-d.ts b/packages/pinia/test-dts/customizations.test-d.ts index 640ae466..54bd5b30 100644 --- a/packages/pinia/test-dts/customizations.test-d.ts +++ b/packages/pinia/test-dts/customizations.test-d.ts @@ -266,28 +266,3 @@ expectType<{ })() ) ) - -expectType<{ - n: Ref - customN: Ref & { plusOne: () => void } - double: ComputedRef - myState: Ref - stateOnly: Ref -}>( - storeToRefs( - defineStore('a', { - state: () => ({ - n: 1, - customN: ref(1) as Ref & { plusOne: () => void }, - }), - getters: { - double: (state) => state.n * 2, - }, - actions: { - plusOne() { - this.n++ - }, - }, - })() - ) -)