@liuli-util/idea
Install using
npm install @liuli-util/idea
You can access these members by importing the module:
import { member } from '@liuli-util/idea';
enhanceProxy
function enhanceProxy
<
T
: object
>
(
obj
:
T
,
handler
:
EnhanceProxyHandler<T>
)
:
any
增强 proxy 添加参数 path 表示属性访问路径
@param:
obj
@param:
handler
EnhanceProxyHandler
type EnhanceProxyHandler
<
T
: object
>
Alias for:
Merge<
ProxyHandler<T>,
{
get?(target: T, path: PropertyKey[], receiver: any): any
set?(target: T, path: PropertyKey[], value: any, receiver: any): boolean
apply?(target: T, path: PropertyKey[], thisArg: any, argArray?: any): any
}
>
No docs provided