chore: remove unused var

This commit is contained in:
Braks
2022-04-04 21:42:48 +02:00
parent c3c86c6179
commit 095afc63ab
2 changed files with 9 additions and 11 deletions
+1 -11
View File
@@ -1,10 +1,8 @@
import { CSSProperties, ToRefs } from 'vue'
import { CSSProperties } from 'vue'
import { GraphEdge, Edge, DefaultEdgeOptions } from './edge'
import { GraphNode, CoordinateExtent, Node } from './node'
import { ConnectionLineType, ConnectionMode } from './connection'
import { KeyCode, PanOnScrollMode, UseZoomPanHelper } from './zoom'
import { Actions, ComputedGetters, State, FlowStore } from './store'
import { FlowHooksOn } from './hooks'
import { DefaultEdgeTypes, DefaultNodeTypes, EdgeComponent, NodeComponent } from './components'
export type FlowElement<N = any, E = any> = GraphNode<N> | GraphEdge<E>
@@ -133,11 +131,3 @@ export interface FlowProps<N = any, E = N> {
}
export type FlowOptions<N = any, E = N> = FlowProps<N, E>
export type UseVueFlow<N = any, E = N> = {
id: string
store: FlowStore<N, E>
} & FlowHooksOn<N, E> &
ToRefs<State<N, E>> &
ComputedGetters<N, E> &
Actions<N, E>
+8
View File
@@ -133,3 +133,11 @@ interface StoreBase<N = any, E = N> {
export type Store<N = any, E = N> = StoreBase<N, E> & ToRefs<State<N, E>> & Actions<N, E> & ComputedGetters<N, E>
export type FlowStore<N = any, E = N> = StoreBase<N, E> & State<N, E> & Actions<N, E> & Getters<N, E>
export type UseVueFlow<N = any, E = N> = {
id: string
store: FlowStore<N, E>
} & FlowHooksOn<N, E> &
ToRefs<State<N, E>> &
ComputedGetters<N, E> &
Actions<N, E>