mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-19 17:13:31 -04:00
fix: partial value improperly passed through
This commit is contained in:
@@ -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!`);
|
||||
|
||||
Reference in New Issue
Block a user