Skip to content

Typescript definitions: Outdated? #391

@Aranir

Description

@Aranir

When I was toying with arrangodb and trying to use the typescript definitions on a node applications I had a few issues.

Are the definitions outdated?

as example the definition of the save method on the EdgeCollection is as follows:

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

Where the data property is a string.

From the API documentation, the same method is documented as:

async edgeCollection.save(data, [fromId, toId]): Object

-> data: Object

Why is the data property typed as string whereas in the js version it's supposed to be an Object?

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA code defect that needs to be fixed.help wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions