feat(components): Return if document is undefined
This commit is contained in:
+1
-1
@@ -431,7 +431,7 @@ export interface ReactFlowState {
|
||||
onConnectStop?: OnConnectStopFunc;
|
||||
onConnectEnd?: OnConnectEndFunc;
|
||||
|
||||
document: Document | ShadowRoot;
|
||||
document?: Document | ShadowRoot;
|
||||
}
|
||||
|
||||
export type UpdateNodeInternals = (nodeId: ElementId) => void;
|
||||
|
||||
Reference in New Issue
Block a user