Skip to content

Neighbous Generics Types #25

@barluq

Description

@barluq

Now is the generic type of the node with neighbours always same. It does not cover situation of the different node and neighbourst type.

Idea:

export interface NodeWithNeighbours<T, N> extends HasNeighbours<N>, HasEdges {
    node: T;
}

where T is type of node and N type of neighbours.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions