From 7990adfffa39d14a0d458e6d8a0f341e61441693 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Thu, 24 Jun 2021 16:14:08 +0200 Subject: [PATCH] fix(types): remove state properties from this --- src/types.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/types.ts b/src/types.ts index 42e15805e0..73002b3510 100644 --- a/src/types.ts +++ b/src/types.ts @@ -464,8 +464,7 @@ export interface DefineStoreOptions< ThisType< UnwrapRef & StoreWithGetters & - PiniaCustomProperties & - PiniaCustomStateProperties + PiniaCustomProperties > /** * Optional object of actions. @@ -476,7 +475,6 @@ export interface DefineStoreOptions< UnwrapRef & StoreWithState & StoreWithGetters extends G ? {} : G> & - PiniaCustomProperties & - PiniaCustomStateProperties + PiniaCustomProperties > }