| Server IP : 74.208.250.37 / Your IP : 216.73.216.233 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : miferval ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/nodejs/@types/define-properties/ |
Upload File : |
// Type definitions for define-properties 1.1
// Project: https://github.com/ljharb/define-properties#readme
// Definitions by: ExE Boss <https://github.com/ExE-Boss>
// Jordan Harband <https://github.com/ljharb>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
declare namespace defineProperties {
/**
* Whether the current environment correctly supports property descriptors.
*/
const supportsDescriptors: boolean;
}
/**
* Defines new properties in `map` as non-enumerable if they don't already
* exist on `object`.
*
* @param object The object to define non-enumerable properties on.
* @param map The map of newly defined properties.
* @param predicates The optional predicates map, return `true` to override existing properties on `object`.
*/
declare function defineProperties<M extends object>(
object: object,
map: M & ThisType<any>,
predicates?: Partial<Record<keyof M, () => boolean>>,
): void;
export = defineProperties;