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

updateSettings() doesn't return a promise type in Typescript #193

Open
f-w opened this issue Jul 20, 2021 · 0 comments
Open

updateSettings() doesn't return a promise type in Typescript #193

f-w opened this issue Jul 20, 2021 · 0 comments

Comments

@f-w
Copy link

f-w commented Jul 20, 2021

According to readme

Renamed changeSettings() to updateSettings(), it now returns a promise to indicate completion. It takes the same options object as the constructor.

In typescript updateSettings() returns Bottleneck, which is not a promise.

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

1 participant