From e9e504b40dde8691c32c933c7e27e28cfad1c8b5 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Tue, 19 Dec 2023 01:17:22 -0500 Subject: Template type improvements (#380) * Default templates to unknown * Default typescript templates to unknown * More template type updates --- ext/js/pages/settings/keyboard-mouse-input-field.js | 2 +- ext/js/pages/settings/profile-controller.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/js/pages') diff --git a/ext/js/pages/settings/keyboard-mouse-input-field.js b/ext/js/pages/settings/keyboard-mouse-input-field.js index 99af3941..f50ca112 100644 --- a/ext/js/pages/settings/keyboard-mouse-input-field.js +++ b/ext/js/pages/settings/keyboard-mouse-input-field.js @@ -315,7 +315,7 @@ export class KeyboardMouseInputField extends EventDispatcher { } /** - * @template T + * @template [T=unknown] * @param {T[]} array1 * @param {T[]} array2 * @returns {boolean} diff --git a/ext/js/pages/settings/profile-controller.js b/ext/js/pages/settings/profile-controller.js index 6e0710a8..c54bfe73 100644 --- a/ext/js/pages/settings/profile-controller.js +++ b/ext/js/pages/settings/profile-controller.js @@ -595,7 +595,7 @@ export class ProfileController { } /** - * @template T + * @template [T=unknown] * @param {T} currentValue * @param {T} value1 * @param {T} value2 -- cgit v1.2.3