Type Alias ProxyFunctionDef<T, H>

ProxyFunctionDef<T, H>: {
    as?: TypeFuncNames<T>;
    n: TypeFuncNames<H>;
    rp?: boolean;
}

The Definition of how proxy functions should be applied to target objects

Type Parameters

  • T
  • H

Type declaration

  • Optionalas?: TypeFuncNames<T>

    Use this name as on the target for the proxied function, defaults to the same as the host function when not defined.

  • n: TypeFuncNames<H>

    Identifies the host function name

  • Optionalrp?: boolean

    If the target already includes the function should it be replaced, defaults to false.