fix(store): Getter type

This commit is contained in:
Braks
2022-04-04 21:42:48 +02:00
parent 83ea90555e
commit 73a9016aff
3 changed files with 6 additions and 5 deletions
+1 -3
View File
@@ -134,8 +134,6 @@ export interface Getters<N = any, E = N> {
getSelectedEdges: GraphEdge<E>[]
}
export type ComputedGetters<N = any, E = N> = { [key in keyof Getters<N, E>]: ComputedRef<Getters<N, E>[key]> }
interface StoreBase<N = any, E = N> {
state: State<N, E>
}
@@ -147,5 +145,5 @@ export type UseVueFlow<N = any, E = N> = {
store: Store<N, E>
} & FlowHooksOn<N, E> &
ToRefs<State<N, E>> &
ComputedGetters<N, E> &
Getters<N, E> &
Actions<N, E>