OptionaldeleteProperty
deleteProperty?: (target: Object, key: string) => boolean
Optionalget
get?: (target: Object, key: string, receiver: Object) => any
OptionalgetOwnPropertyDescriptor
getOwnPropertyDescriptor?: (
target: Object,
key: string,
prop: string | symbol,
) => PropertyDescriptor | undefined
Optionalhas
has?: (target: Object, key: string) => boolean
OptionalownKeys
ownKeys?: (target: Object, key: string) => string[]
Optionalset
set?: (
target: Object,
key: string,
value: any,
receiver: Object | undefined,
) => boolean