Update index.ts

This commit is contained in:
ShaMan123
2021-01-01 12:34:31 +02:00
committed by GitHub
parent 6ed505f70d
commit 39b388051e
+2 -2
View File
@@ -2,9 +2,9 @@ import { CSSProperties, MouseEvent as ReactMouseEvent } from 'react';
export type ElementId = string;
export type FlowElement = Node | Edge;
export type FlowElement<T = any> = Node<T> | Edge<T>;
export type Elements = Array<FlowElement>;
export type Elements<T = any> = Array<FlowElement<T>>;
export type Transform = [number, number, number];