Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distinct return type #301

Closed
iofjuupasli opened this issue Apr 3, 2020 · 0 comments
Closed

Distinct return type #301

iofjuupasli opened this issue Apr 3, 2020 · 0 comments

Comments

@iofjuupasli
Copy link

monk/index.d.ts

Lines 60 to 61 in a61b0cf

distinct(field: string, query?: TQuery, options?: Object): Promise<number>
distinct(field: string, query?: TQuery, options?: Object, callback?: (err: Error | null, data: number) => void): void

Seems that return type should be Promise<Array<U>>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants