Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Adds support for caches.default #21

Merged
merged 1 commit into from
May 14, 2020
Merged

Adds support for caches.default #21

merged 1 commit into from
May 14, 2020

Conversation

ispivey
Copy link
Contributor

@ispivey ispivey commented May 14, 2020

Workers implementation of the Cache API includes a caches.default, a global cache object. https://developers.cloudflare.com/workers/reference/apis/cache

This PR adds support for caches.default. Previously, TypeScript would complain because the CacheStorage interface does not have a property default.

@ispivey ispivey linked an issue May 14, 2020 that may be closed by this pull request
@ispivey ispivey added this to the Release 1.0.10 milestone May 14, 2020
@ispivey ispivey merged commit cd2cd20 into master May 14, 2020
@ispivey ispivey mentioned this pull request May 15, 2020
@threepointone threepointone deleted the caches-default branch November 2, 2021 10:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cache types
3 participants