summaryrefslogtreecommitdiff
path: root/ext/js/data
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/data')
-rw-r--r--ext/js/data/database.js6
-rw-r--r--ext/js/data/json-schema.js2
2 files changed, 4 insertions, 4 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
diff --git a/ext/js/data/json-schema.js b/ext/js/data/json-schema.js
index d63cfd1a..52a55d85 100644
--- a/ext/js/data/json-schema.js
+++ b/ext/js/data/json-schema.js
@@ -249,7 +249,7 @@ export class JsonSchema {
}
/**
- * @template T
+ * @template [T=unknown]
* @param {T} value
* @returns {T}
*/