aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display
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/display
parent20dd6112724a77fee16281930e79a2e6822acff7 (diff)
Template type improvements (#380)
* Default templates to unknown * Default typescript templates to unknown * More template type updates
Diffstat (limited to 'ext/js/display')
-rw-r--r--ext/js/display/display-generator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/display/display-generator.js b/ext/js/display/display-generator.js
index 7bedfa12..ccdd49cf 100644
--- a/ext/js/display/display-generator.js
+++ b/ext/js/display/display-generator.js
@@ -845,7 +845,7 @@ export class DisplayGenerator {
}
/**
- * @template TItem
+ * @template [TItem=unknown]
* @template [TExtraArg=void]
* @param {HTMLElement} container
* @param {(item: TItem, arg: TExtraArg) => ?Node} createItem