- ReflectSet<T, P>(target: T, propertyKey: P, value: P extends keyof T ? T[P] : any, receiver?: any): boolean
-
Type Parameters
-
T extends object
-
P extends PropertyKey
Parameters
-
target: T
-
propertyKey: P
-
value: P extends keyof T ? T[P] : any
-
Optional
receiver: any
Returns boolean
- ReflectSet(target: object, propertyKey: PropertyKey, value: any, receiver?: any): boolean
-
Parameters
-
target: object
-
propertyKey: PropertyKey
-
value: any
-
Optional
receiver: any
Returns boolean
Sets the property of target, equivalent to
target[propertyKey] = value
whenreceiver === target
.