diff --git a/packages/core/src/types/store.ts b/packages/core/src/types/store.ts index cce33aa0..81f25184 100644 --- a/packages/core/src/types/store.ts +++ b/packages/core/src/types/store.ts @@ -183,11 +183,11 @@ export type UpdateNodeDimensions = (updates: UpdateNodeDimensionsParams[]) => vo export type UpdateNodeInternals = (nodeIds?: string[]) => void export type FindNode = = any>( - id: string | undefined, + id: string | undefined | null, ) => GraphNode | undefined export type FindEdge = = any>( - id: string | undefined, + id: string | undefined | null, ) => GraphEdge | undefined export type GetIntersectingNodes = (