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 --- dev/manifest-util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev') diff --git a/dev/manifest-util.js b/dev/manifest-util.js index ac9b58db..6a53c8d6 100644 --- a/dev/manifest-util.js +++ b/dev/manifest-util.js @@ -25,7 +25,7 @@ import {parseJson} from './json.js'; const dirname = path.dirname(fileURLToPath(import.meta.url)); /** - * @template T + * @template [T=unknown] * @param {T} value * @returns {T} */ @@ -240,7 +240,7 @@ export class ManifestUtil { } /** - * @template T + * @template [T=unknown] * @param {T[]} array1 * @param {T[]} array2 * @param {number} lengthOffset -- cgit v1.2.3