Skip to content

Commit b286e91

Browse files
committed
fixup! add key/type
1 parent 4cc6998 commit b286e91

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/cloudflare/src/api/overrides/incremental-cache/static-assets-incremental-cache.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,12 @@ class StaticAssetsIncrementalCache implements IncrementalCache {
4949
}
5050
}
5151

52-
async set(): Promise<void> {
53-
error("StaticAssetsIncrementalCache: Failed to set to read-only cache");
52+
async set<CacheType extends CacheEntryType = "cache">(
53+
key: string,
54+
_value: CacheValue<CacheType>,
55+
cacheType?: CacheType
56+
): Promise<void> {
57+
error(`StaticAssetsIncrementalCache: Failed to set to read-only cache key=${key} type=${cacheType}`);
5458
}
5559

5660
async delete(): Promise<void> {

0 commit comments

Comments
 (0)