Unverified Commit 8d0896a2 authored by Paweł Ciosek's avatar Paweł Ciosek Committed by GitHub

docs update: Remove public access modifier from resetRequestCache method in…

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

### 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
parent f813dd4a
......@@ -228,7 +228,7 @@ module.exports = class CacheHandler {
// If you want to have temporary in memory cache for a single request that is reset
// before the next request you can leverage this method
public resetRequestCache() {}
resetRequestCache() {}
}
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment