summaryrefslogtreecommitdiff
path: root/ext/webstorage
diff options
context:
space:
mode:
Diffstat (limited to 'ext/webstorage')
-rw-r--r--ext/webstorage/lib.deno_webstorage.d.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/webstorage/lib.deno_webstorage.d.ts b/ext/webstorage/lib.deno_webstorage.d.ts
index d591cdcfa..781b3ffb4 100644
--- a/ext/webstorage/lib.deno_webstorage.d.ts
+++ b/ext/webstorage/lib.deno_webstorage.d.ts
@@ -11,7 +11,7 @@
*
* @category Web Storage API
*/
-interface Storage {
+declare interface Storage {
/**
* Returns the number of key/value pairs currently present in the list associated with the object.
*/
@@ -43,6 +43,6 @@ interface Storage {
/** @category Web Storage API */
declare var Storage: {
- prototype: Storage;
- new (): Storage;
+ readonly prototype: Storage;
+ new (): never;
};