-
Notifications
You must be signed in to change notification settings - Fork 352
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
Incorrect typescript definitions #1128
Labels
Comments
Thanks for the report! I've asked the team to fix that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The typescript definitions for some of the functions in DropboxAuth are incorrect. They return void, but the docs on the function indicate that the functions return a Promise.
To Reproduce
Try compiling code that uses
checkAndRefreshAccessToken
orrefreshAccessToken
as functions that return Promises.Expected Behavior
These functions should have type definitions that return a Promise
Actual Behavior
The functions instead have a
void
return type.Screenshots
Here's a snippet of the DropboxAuth type definitions:
Versions
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: