function withChangeTracking<T>(target, callback): Record<string | symbol, unknown>
function withChangeTracking<T>(target, callback): Record<string | symbol, unknown>
Defined in: packages/db/src/proxy.ts:986
Creates a proxy for an object, passes it to a callback function, and returns the changes made by the callback
• T extends object
T
The object to proxy
(proxy) => void
Function that receives the proxy and can make changes to it
Record<string | symbol, unknown>
The changes made to the object
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.