diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-03 13:00:48 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-03 13:01:05 +0530 |
commit | ffd2a62c3f7df94365980302fef3bc3376b48182 (patch) | |
tree | 270af6f16b4cc7f5da2afdba55c8bc9dbea5eca5 /packages/idb-bridge/src/util/structuredClone.ts | |
parent | aa481e42675fb7c4dcbbeec0ba1c61e1953b9596 (diff) | |
download | wallet-core-ffd2a62c3f7df94365980302fef3bc3376b48182.tar.xz |
modularize repo, use pnpm, improve typechecking
Diffstat (limited to 'packages/idb-bridge/src/util/structuredClone.ts')
-rw-r--r-- | packages/idb-bridge/src/util/structuredClone.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/idb-bridge/src/util/structuredClone.ts b/packages/idb-bridge/src/util/structuredClone.ts index 165ed2f32..c49d0377f 100644 --- a/packages/idb-bridge/src/util/structuredClone.ts +++ b/packages/idb-bridge/src/util/structuredClone.ts @@ -14,7 +14,6 @@ permissions and limitations under the License. */ - function structuredCloneImpl(val: any, visited: WeakMap<any, boolean>): any { // FIXME: replace with real implementation! return JSON.parse(JSON.stringify(val)); @@ -28,4 +27,4 @@ export function structuredClone(val: any): any { return structuredCloneImpl(val, visited); } -export default structuredClone;
\ No newline at end of file +export default structuredClone; |