UNPKG

564 BTypeScriptView Raw
1import type { PropertyDescriptor, PropertyKey } from "../index";
2
3declare function ValidateAndApplyPropertyDescriptor(
4 O: undefined,
5 P: unknown,
6 extensible: boolean,
7 Desc: PropertyDescriptor & ThisType<any>,
8 current?: PropertyDescriptor & ThisType<any>,
9): boolean;
10declare function ValidateAndApplyPropertyDescriptor(
11 O: object | undefined,
12 P: PropertyKey,
13 extensible: boolean,
14 Desc: PropertyDescriptor & ThisType<any>,
15 current?: PropertyDescriptor & ThisType<any>,
16): boolean;
17export = ValidateAndApplyPropertyDescriptor;