From f6d165b4f0e985600a6f2719f9febc130af55277 Mon Sep 17 00:00:00 2001 From: thetarnav Date: Tue, 29 Oct 2024 09:42:09 +0000 Subject: [PATCH] Format --- packages/mutable/src/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/mutable/src/index.ts b/packages/mutable/src/index.ts index 7c9ccd680..3a0f3cec2 100644 --- a/packages/mutable/src/index.ts +++ b/packages/mutable/src/index.ts @@ -241,8 +241,7 @@ function wrap(value: T): T { const desc = Object.getOwnPropertyDescriptors(value); for (const prop of Object.keys(value)) { - if (desc[prop]!.get) - Object.defineProperty(value, prop, { get: desc[prop]!.get.bind(proxy) }); + if (desc[prop]!.get) Object.defineProperty(value, prop, { get: desc[prop]!.get.bind(proxy) }); if (desc[prop]!.set) { const og = desc[prop]!.set;