-
Couldn't load subscription status.
- Fork 109
Closed
Labels
Description
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?