Skip to content

ERROR in /home/project/test/graph-editor/src/renderer/components/graphDiagram/GraphEditor.tsx(250,11) #10

@ahkimkoo

Description

@ahkimkoo
┏ 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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions