Interface ProxyHandler<T>
interface ProxyHandler<T> { apply(target: T, ...args: any[]): any; get(target: T, key: string): any; set(target: T, key: string, value: any): void;} Methods
Optional
apply
- apply(target: T, ...args: any[]): any
Returns any
The function result
Optional
get
- get(target: T, key: string): any
Returns any
The property value
Optional
set
- set(target: T, key: string, value: any): void
Parameters
- target: T
- key: string
- value: any
Returns void
Interface defining handlers for proxy operations