From: Eduardo San Martin Morote Date: Thu, 24 Jun 2021 14:14:08 +0000 (+0200) Subject: fix(types): remove state properties from this X-Git-Tag: v0.5.3~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7990adfffa39d14a0d458e6d8a0f341e61441693;p=thirdparty%2Fvuejs%2Fpinia.git fix(types): remove state properties from this --- diff --git a/src/types.ts b/src/types.ts index 42e15805..73002b35 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 > }