-
Couldn't load subscription status.
- Fork 109
Closed
Labels
TypescriptThis issue is about Typescript.This issue is about Typescript.fixedIssue has been resolved but remains open due to a pending release.Issue has been resolved but remains open due to a pending release.semver-majorThis issue requires backwards-incompatible changes to address.This issue requires backwards-incompatible changes to address.
Milestone
Description
Although arangojs is written in typescript the type information is not really super strong.
e.g. when working with collections (super class BaseCollection) there are several methods which return type "Promise<any>". (and so on...)
Also, not all types are accessible via importing from 'arangojs'
e.g. when I want to use the type 'ArrayCursor' I have to:
import { ArrayCursor } from 'arangojs/lib/async/cursor'; or
import { ArrayCursor } from 'arangojs/lib/cjs/cursor';
Would it be possible to provide better type information?
Metadata
Metadata
Assignees
Labels
TypescriptThis issue is about Typescript.This issue is about Typescript.fixedIssue has been resolved but remains open due to a pending release.Issue has been resolved but remains open due to a pending release.semver-majorThis issue requires backwards-incompatible changes to address.This issue requires backwards-incompatible changes to address.