chore(types): make node type optional again

This commit is contained in:
moklick
2023-01-25 14:15:41 +01:00
parent a1cc9da535
commit 2aef1ab4da
+1 -1
View File
@@ -9,7 +9,7 @@ export type Node<T = any, U extends string | undefined = string | undefined> = {
id: string;
position: XYPosition;
data: T;
type: U;
type?: U;
style?: CSSProperties;
className?: string;
sourcePosition?: Position;