Skip to content

Proxy Library

Rohan Singh edited this page Feb 6, 2025 · 2 revisions

Exports

proxyCreate

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