Skip to content

Commit

Permalink
fix(types): remove state properties from this
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Jun 24, 2021
1 parent f5886d9 commit 7990adf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,7 @@ export interface DefineStoreOptions<
ThisType<
UnwrapRef<StateTree extends S ? {} : S> &
StoreWithGetters<G> &
PiniaCustomProperties &
PiniaCustomStateProperties
PiniaCustomProperties
>
/**
* Optional object of actions.
Expand All @@ -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
>
}

0 comments on commit 7990adf

Please sign in to comment.