-
Notifications
You must be signed in to change notification settings - Fork 24
Proxy Library
Rohan Singh edited this page Feb 6, 2025
·
2 revisions
proxyCreate(target: any, handlers: object): object
Creates a proxy object for target
with the given handlers
. The handlers value must be an object. The following handler methods are supported:
-
get(target: any, key: any): any
: Called when reading a value from the proxy -
set(target: any, key: any, value: any)
: Called when writing a value into the proxy