chore(types): make node type optional again
This commit is contained in:
@@ -9,7 +9,7 @@ export type Node<T = any, U extends string | undefined = string | undefined> = {
|
|||||||
id: string;
|
id: string;
|
||||||
position: XYPosition;
|
position: XYPosition;
|
||||||
data: T;
|
data: T;
|
||||||
type: U;
|
type?: U;
|
||||||
style?: CSSProperties;
|
style?: CSSProperties;
|
||||||
className?: string;
|
className?: string;
|
||||||
sourcePosition?: Position;
|
sourcePosition?: Position;
|
||||||
|
|||||||
Reference in New Issue
Block a user