]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
fix(types): remove state properties from this
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 24 Jun 2021 14:14:08 +0000 (16:14 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 24 Jun 2021 14:14:08 +0000 (16:14 +0200)
src/types.ts

index 42e15805e0b0214360ae654f5798f105e6f0f7b7..73002b35108d32e75600c91cad2614b0bcb7251f 100644 (file)
@@ -464,8 +464,7 @@ export interface DefineStoreOptions<
     ThisType<
       UnwrapRef<StateTree extends S ? {} : S> &
         StoreWithGetters<G> &
-        PiniaCustomProperties &
-        PiniaCustomStateProperties
+        PiniaCustomProperties
     >
   /**
    * Optional object of actions.
@@ -476,7 +475,6 @@ export interface DefineStoreOptions<
         UnwrapRef<StateTree extends S ? {} : S> &
         StoreWithState<Id, S, G, A> &
         StoreWithGetters<GettersTree<S> extends G ? {} : G> &
-        PiniaCustomProperties &
-        PiniaCustomStateProperties
+        PiniaCustomProperties
     >
 }