summaryrefslogtreecommitdiff
path: root/ext/js/general
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/general')
-rw-r--r--ext/js/general/cache-map.js3
-rw-r--r--ext/js/general/task-accumulator.js3
2 files changed, 4 insertions, 2 deletions
diff --git a/ext/js/general/cache-map.js b/ext/js/general/cache-map.js
index cc706380..a995b8c7 100644
--- a/ext/js/general/cache-map.js
+++ b/ext/js/general/cache-map.js
@@ -18,7 +18,8 @@
/**
- * @template K,V
+ * @template [K=unknown]
+ * @template [V=unknown]
* Class which caches a map of values, keeping the most recently accessed values.
*/
export class CacheMap {
diff --git a/ext/js/general/task-accumulator.js b/ext/js/general/task-accumulator.js
index cb136908..86cb9e3e 100644
--- a/ext/js/general/task-accumulator.js
+++ b/ext/js/general/task-accumulator.js
@@ -19,7 +19,8 @@
import {log} from '../core.js';
/**
- * @template K,V
+ * @template [K=unknown]
+ * @template [V=unknown]
*/
export class TaskAccumulator {
/**