feat: refactoring project

This commit is contained in:
Carlos
2024-11-23 14:56:07 -05:00
parent f0c2a50c18
commit 1c6db5818d
2351 changed files with 39323 additions and 60326 deletions

View File

@@ -19,6 +19,7 @@ class SetObjectSerializer {
context.write(value);
}
}
/**
* @template T
* @param {ObjectDeserializerContext} context context
@@ -26,7 +27,7 @@ class SetObjectSerializer {
*/
deserialize(context) {
/** @type {number} */
let size = context.read();
const size = context.read();
/** @type {Set<T>} */
const set = new Set();
for (let i = 0; i < size; i++) {