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

types(Options): add types for cacheWithLimits #6095

Merged
merged 8 commits into from
Jul 16, 2021

Conversation

DTrombett
Copy link
Contributor

Please describe the changes this PR makes and why it should be merged:

This PR adds typings for the limits parameter in the cacheWIthLimits method and improve the description of the makeCache property in ClientOptions, replacing the old one that was still there.
Tests also updated.

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating
  • This PR only includes non-code changes, like changes to documentation, README, etc.

typings/index.d.ts Outdated Show resolved Hide resolved
@DTrombett
Copy link
Contributor Author

Should I wait for #6110 to be merged to add types for new methods too?

typings/index.d.ts Outdated Show resolved Hide resolved
@iCrawl iCrawl merged commit 8db6df3 into discordjs:master Jul 16, 2021
@DTrombett DTrombett deleted the cache-types branch August 11, 2021 18:57
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.

6 participants