-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
┏ Main -----------------------
ERROR in /home/project/test/graph-editor/src/renderer/components/graphDiagram/GraphEditor.tsx(250,11):
TS2322: Type 'Selection<SVGGElement, {}, any, any>' is not assignable to type 'Selection<Element, {}, any, any> | undefined'.
Type 'Selection<SVGGElement, {}, any, any>' is not assignable to type 'Selection<Element, {}, any, any>'.
Types of property 'attr' are incompatible.
Type '{ (name: string): string; (name: string, value: null): Selection<SVGGElement, {}, any, any>; (nam...' is not assignable to type '{ (name: string): string; (name: string, value: null): Selection<Element, {}, any, any>; (name: s...'.
Type 'Selection<SVGGElement, {}, any, any>' is not assignable to type 'Selection<Element, {}, any, any>'.
┗ ----------------------------
┏ Renderer -------------------
ERROR in /home/project/test/graph-editor/src/renderer/components/graphDiagram/GraphEditor.tsx(250,11):
TS2322: Type 'Selection<SVGGElement, {}, any, any>' is not assignable to type 'Selection<Element, {}, any, any> | undefined'.
Type 'Selection<SVGGElement, {}, any, any>' is not assignable to type 'Selection<Element, {}, any, any>'.
Types of property 'attr' are incompatible.
Type '{ (name: string): string; (name: string, value: null): Selection<SVGGElement, {}, any, any>; (nam...' is not assignable to type '{ (name: string): string; (name: string, value: null): Selection<Element, {}, any, any>; (name: s...'.
Type 'Selection<SVGGElement, {}, any, any>' is not assignable to type 'Selection<Element, {}, any, any>'.
┗ ----------------------------
Metadata
Metadata
Assignees
Labels
No labels