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

fix: Fix jsdocs in queryAll #1333

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix: Fix jsdocs in queryAll #1333

wants to merge 1 commit into from

Conversation

LucsT
Copy link
Contributor

@LucsT LucsT commented Mar 17, 2023

The jsdoc concerning queryAll wasn't showing the correct return (Array of docs)

I propose this correction.
What do you think ?

Copy link
Contributor

@Crash-- Crash-- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer QueryResult[] since CozyClientDocument[]` is about document, not JSON API related return.

There is a lot of work done in this #1234 in order to try to fix types issue.

@LucsT
Copy link
Contributor Author

LucsT commented Mar 20, 2023

@Crash--
Ok so you want me to add a commit in this PR instead with @returns {Promise<QueryResult[]>}
and close this one ?

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

Successfully merging this pull request may close these issues.

2 participants