refactor(core): omit type prop for smooth step edge props

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-06 17:43:21 +01:00
committed by Braks
parent 016206d00f
commit af699d384c

View File

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