Merge pull request #4547 from xyflow/refactor/export-handle-type
Refactor/export handle type
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@xyflow/react': patch
|
||||
---
|
||||
|
||||
chore(react): re-export Handle type
|
||||
@@ -103,6 +103,10 @@ export {
|
||||
type KeyCode,
|
||||
} from '@xyflow/system';
|
||||
|
||||
// we need this workaround to prevent a duplicate identifier error
|
||||
import { type Handle as HandleBound } from '@xyflow/system';
|
||||
export type Handle = HandleBound;
|
||||
|
||||
// system utils
|
||||
export {
|
||||
type GetBezierPathParams,
|
||||
|
||||
Reference in New Issue
Block a user