diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-12-19 01:17:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-19 06:17:22 +0000 |
commit | e9e504b40dde8691c32c933c7e27e28cfad1c8b5 (patch) | |
tree | 1128f311d9e5cb6316fbf237724eb2b87a522446 /ext/js/pages | |
parent | 20dd6112724a77fee16281930e79a2e6822acff7 (diff) |
Template type improvements (#380)
* Default templates to unknown
* Default typescript templates to unknown
* More template type updates
Diffstat (limited to 'ext/js/pages')
-rw-r--r-- | ext/js/pages/settings/keyboard-mouse-input-field.js | 2 | ||||
-rw-r--r-- | ext/js/pages/settings/profile-controller.js | 2 |
2 files changed, 2 insertions, 2 deletions
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 |