summaryrefslogtreecommitdiff
path: root/ext/cache
diff options
context:
space:
mode:
Diffstat (limited to 'ext/cache')
-rw-r--r--ext/cache/lib.deno_cache.d.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/cache/lib.deno_cache.d.ts b/ext/cache/lib.deno_cache.d.ts
index 0834d7f20..ca0218bf5 100644
--- a/ext/cache/lib.deno_cache.d.ts
+++ b/ext/cache/lib.deno_cache.d.ts
@@ -54,18 +54,18 @@ declare interface Cache {
/** @category Cache API */
declare var Cache: {
- prototype: Cache;
- new (name: string): Cache;
+ readonly prototype: Cache;
+ new (): never;
};
/** @category Cache API */
declare var CacheStorage: {
- prototype: CacheStorage;
- new (): CacheStorage;
+ readonly prototype: CacheStorage;
+ new (): never;
};
/** @category Cache API */
-interface CacheQueryOptions {
+declare interface CacheQueryOptions {
ignoreMethod?: boolean;
ignoreSearch?: boolean;
ignoreVary?: boolean;