Skip to content

Commit af699d3

Browse files
committed
refactor(core): omit type prop for smooth step edge props
Signed-off-by: braks <[email protected]>
1 parent 016206d commit af699d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/types/edge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export interface EdgeProps<Data = ElementData, CustomEvents = {}> {
151151
}
152152

153153
/** these props are passed to smooth step edges */
154-
export interface SmoothStepEdgeProps<Data = ElementData, CustomEvents = {}> extends EdgeProps<Data, CustomEvents> {
154+
export interface SmoothStepEdgeProps<Data = ElementData, CustomEvents = {}> extends Omit<EdgeProps<Data, CustomEvents>, 'type'> {
155155
borderRadius?: number
156156
}
157157

0 commit comments

Comments
 (0)