Skip to content

Conversation

@achingbrain
Copy link
Contributor

If a custom max age has been set it's useful to be able to query what that max age is, so expose the internal #maxAge field via a getter, similar to how #maxSize is exposed.

If a custom max age has been set it's useful to be able to query
what that max age is, so expose the internal `#maxAge` field via
a getter, similar to how `#maxSize` is exposed.
@sindresorhus sindresorhus merged commit 9cc10b4 into sindresorhus:main Oct 10, 2025
2 checks passed
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