Skip to content

Wrong type in EdgeCollection save method #476

@nitrog7

Description

@nitrog7

save(data: string, fromId?: string, toId?: string): Promise<any>;

The line should read:
save(data: any, fromId?: string, toId?: string): Promise;

In TypeScript, it is requiring the data parameter to be a string instead of also allowing an object or properties.

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