summaryrefslogtreecommitdiff
path: root/dev/manifest-util.js
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 /dev/manifest-util.js
parent20dd6112724a77fee16281930e79a2e6822acff7 (diff)
Template type improvements (#380)
* Default templates to unknown * Default typescript templates to unknown * More template type updates
Diffstat (limited to 'dev/manifest-util.js')
-rw-r--r--dev/manifest-util.js4
1 files changed, 2 insertions, 2 deletions
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