UNPKG

@yamamotok/dataobject

Version:

Decorator based JSON serializer and deserializer.

8 lines (7 loc) 260 B
/** * Get property descriptor with looking into targets' prototype chain. * * @param target the target object * @param key key for the property */ export declare function getDescriptor(target: unknown, key: string): PropertyDescriptor | undefined;