diff --git a/src/mutableAtom/index.ts b/src/mutableAtom/index.ts index 4a06d51..00c72ee 100644 --- a/src/mutableAtom/index.ts +++ b/src/mutableAtom/index.ts @@ -75,7 +75,7 @@ export function mutableAtom( */ function wrapProxyState(proxyState: ProxyState) { return new Proxy(proxyState, { - get: (target, property) => { + get(target, property) { return target[property as keyof ProxyState] }, set(target, property, value) {