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

docs update: Remove public access modifier from resetRequestCache method in CacheHandler class, it's not available in js file (only in typescript) #74788

Merged
merged 1 commit into from
Jan 11, 2025

Conversation

pavelee
Copy link
Contributor

@pavelee pavelee commented Jan 11, 2025

What?

During development I noticed that example of custom CacheHandler contains expression that works only in TypeScript but the file is declared as JS.

Why?

To improve documentation DX, so other developers won't be surprised that code they copied from official docs is not correct semantically.

How?

Added small fix removing public accessor

…hod in CacheHandler class, it's not available in js file (only in typescript)
@ijjk ijjk added the Documentation Related to Next.js' official documentation. label Jan 11, 2025
@ijjk
Copy link
Member

ijjk commented Jan 11, 2025

Allow CI Workflow Run

  • approve CI run for commit: 4f4a9d7

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@ijjk ijjk enabled auto-merge (squash) January 11, 2025 20:18
@ijjk ijjk merged commit 8d0896a into vercel:canary Jan 11, 2025
39 of 40 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation Related to Next.js' official documentation. locked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants