diff --git a/.changeset/red-geese-cry.md b/.changeset/red-geese-cry.md new file mode 100644 index 00000000..f959708f --- /dev/null +++ b/.changeset/red-geese-cry.md @@ -0,0 +1,5 @@ +--- +'@xyflow/react': patch +--- + +Remove incorrect deprecation warning diff --git a/packages/react/src/types/instance.ts b/packages/react/src/types/instance.ts index 85d66651..fce67ec5 100644 --- a/packages/react/src/types/instance.ts +++ b/packages/react/src/types/instance.ts @@ -203,7 +203,6 @@ export type GeneralHelpers HandleConnection[]; /** * Gets all connections to a node. Can be filtered by handle type and id. - * @deprecated use `getNodeConnections` instead * @param type - handle type 'source' or 'target' * @param handleId - the handle id (this is only needed if you have multiple handles of the same type, meaning you have to provide a unique id for each handle) * @param nodeId - the node id the handle belongs to @@ -219,7 +218,6 @@ export type GeneralHelpers NodeConnection[]; }; - /** * The `ReactFlowInstance` provides a collection of methods to query and manipulate * the internal state of your flow. You can get an instance by using the