chore(types): remove some unnecessary generics

This commit is contained in:
Braks
2022-04-04 21:42:48 +02:00
parent 4d901ae4e8
commit 7d509487c3
4 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ type Injection<NodeData = ElementData, EdgeData = ElementData> = UseVueFlow<Node
type Scope = (EffectScope & { vueFlowId: string }) | undefined
export default <NodeData = ElementData, EdgeData = ElementData>(
options?: Partial<FlowOptions<NodeData, EdgeData>>,
options?: Partial<FlowOptions>,
): UseVueFlow<NodeData, EdgeData> => {
const storage = Storage.getInstance()
const scope = getCurrentScope() as Scope