fix(types): add missing cache prop to RequestInit#3569
Conversation
|
Lint issues, use 2 spaces instead of 4. I don't think If you want to implement some sort of in-memory caching, see #2760 (comment). |
yeah, will fix
The prop is supported and that's all that matters in this case undici/lib/web/fetch/request.js Lines 974 to 979 in dca0aa0 |
mcollina
left a comment
There was a problem hiding this comment.
Can you add some type tests for this? We use tsd.
Uzlopak
left a comment
There was a problem hiding this comment.
And tomorrow somebody argues, that because the cache field is in the types, we need to implement asap caching.
✅ |
|
bump @mcollina |

Also sort the props.
This relates to...
Rationale
Changes
Features
Bug Fixes
Breaking Changes and Deprecations
Status