chore(types): cleanup #5420
This commit is contained in:
@@ -72,10 +72,7 @@ export type Edge<
|
||||
/**
|
||||
* General escape hatch for adding custom attributes to the edge's DOM element.
|
||||
*/
|
||||
domAttributes?: Omit<
|
||||
SVGAttributes<SVGGElement>,
|
||||
'id' | 'style' | 'className' | 'role' | 'aria-label' | 'defaultValue'
|
||||
>;
|
||||
domAttributes?: Omit<SVGAttributes<SVGGElement>, 'id' | 'style' | 'className' | 'role' | 'aria-label'>;
|
||||
};
|
||||
|
||||
type SmoothStepEdge<EdgeData extends Record<string, unknown> = Record<string, unknown>> = Edge<
|
||||
|
||||
@@ -35,7 +35,7 @@ export type Edge<
|
||||
*/
|
||||
domAttributes?: Omit<
|
||||
SVGAttributes<SVGGElement>,
|
||||
'id' | 'style' | 'class' | 'role' | 'aria-label' | 'defaultValue'
|
||||
'id' | 'style' | 'class' | 'role' | 'aria-label'
|
||||
>;
|
||||
};
|
||||
|
||||
|
||||
@@ -38,7 +38,6 @@ export type Node<
|
||||
| 'draggable'
|
||||
| 'role'
|
||||
| 'aria-label'
|
||||
| 'defaultValue'
|
||||
| keyof DOMAttributes<HTMLDivElement>
|
||||
>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user