diff --git a/packages/pinia/src/storeToRefs.ts b/packages/pinia/src/storeToRefs.ts index c56ff6a83e..bf9a18059e 100644 --- a/packages/pinia/src/storeToRefs.ts +++ b/packages/pinia/src/storeToRefs.ts @@ -22,8 +22,8 @@ import type { } from './types' type ToComputedRefs = { - [K in keyof T]: ToRef extends Ref - ? ComputedRef + [K in keyof T]: ToRef extends Ref + ? ComputedRef : ToRef }