fix: partial value improperly passed through

This commit is contained in:
Paul Makles
2024-06-24 13:37:10 +01:00
parent 0551708d91
commit c9bb4701b8
+1 -1
View File
@@ -66,7 +66,7 @@ function hydrateInternal<Input extends object, Output>(
if (key === "partial")
return {
...acc,
partial: input,
partial: input["partial" as never],
};
if (key === "type") return acc;
console.debug(`Skipping key ${String(key)} during hydration!`);