Skip to content

Provide strong and consistant typing #224

@wandri

Description

@wandri

I've been relying on dagrejs/dagre for a while, which depends on @dagrejs/graphlib. And I have met some typing issues in the last updates.

  • For example, children in the the current typing is defined as children(v: string): string[] but in fact it should be children(v?: string): string[];.

I would like a strong typing from Typescript.

I have done a PR for this migration: #223.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions