diff options
Diffstat (limited to 'packages/idb-bridge/src')
-rw-r--r-- | packages/idb-bridge/src/util/structuredClone.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/idb-bridge/src/util/structuredClone.ts b/packages/idb-bridge/src/util/structuredClone.ts index a3842b8c4..2170118d5 100644 --- a/packages/idb-bridge/src/util/structuredClone.ts +++ b/packages/idb-bridge/src/util/structuredClone.ts @@ -438,6 +438,7 @@ export function applyLegacyTypeAnnotations(val: any): any { export function internalStructuredRevive(val: any): any { // FIXME: Do the newly specified, compositional encoding here. val = JSON.parse(JSON.stringify(val)); + return val; } export function structuredRevive(val: any): any { |