aboutsummaryrefslogtreecommitdiff
path: root/ext/js/data/database.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-12-19 01:17:22 -0500
committerGitHub <noreply@github.com>2023-12-19 06:17:22 +0000
commite9e504b40dde8691c32c933c7e27e28cfad1c8b5 (patch)
tree1128f311d9e5cb6316fbf237724eb2b87a522446 /ext/js/data/database.js
parent20dd6112724a77fee16281930e79a2e6822acff7 (diff)
Template type improvements (#380)
* Default templates to unknown * Default typescript templates to unknown * More template type updates
Diffstat (limited to 'ext/js/data/database.js')
-rw-r--r--ext/js/data/database.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/js/data/database.js b/ext/js/data/database.js
index c8047b41..43ac9e5b 100644
--- a/ext/js/data/database.js
+++ b/ext/js/data/database.js
@@ -153,7 +153,7 @@ export class Database {
}
/**
- * @template TPredicateArg
+ * @template [TPredicateArg=unknown]
* @template [TResult=unknown]
* @template [TResultDefault=unknown]
* @param {TObjectStoreName} objectStoreName
@@ -174,8 +174,8 @@ export class Database {
}
/**
- * @template TData
- * @template TPredicateArg
+ * @template [TData=unknown]
+ * @template [TPredicateArg=unknown]
* @template [TResult=unknown]
* @template [TResultDefault=unknown]
* @param {IDBObjectStore|IDBIndex} objectStoreOrIndex