From fca4fa6eab31bdcf77c4efc3c0036ebd8030aa27 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Tue, 2 Apr 2024 14:39:40 +0200 Subject: [PATCH] chore: unused test --- .../pinia/test-dts/customizations.test-d.ts | 25 ------------------- 1 file changed, 25 deletions(-) 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++ - }, - }, - })() - ) -) -- 2.47.3