UNPKG

@elsikora/nestjs-crud-automator

Version:

A library for automating the creation of CRUD operations in NestJS.

8 lines (7 loc) 408 B
/** * Finds the nearest own descriptor for a property across an object's prototype chain. * @param {object} source - Object whose chain is inspected. * @param {PropertyKey} key - Property key to resolve. * @returns {PropertyDescriptor | undefined} Nearest descriptor, if present. */ export declare function ObjectFindPropertyDescriptor(source: object, key: PropertyKey): PropertyDescriptor | undefined;