diff options
author | Florian Dold <florian@dold.me> | 2023-06-29 12:13:52 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-06-29 12:13:52 +0200 |
commit | 424e39edda96886bfc40c7bb06c5572373c34c1d (patch) | |
tree | d35dcad76386f1ae950a71b5678274852a5064f9 /packages/idb-bridge | |
parent | 585fe6b996678afab44cff9fbd9c12dda7cbb5e0 (diff) |
-oops, obvious missing return
Diffstat (limited to 'packages/idb-bridge')
-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 { |