descriptorOf
@tsed/core
Usage
typescript
import { descriptorOf } from "@tsed/core";Overview
ts
function descriptorOf(target: any, propertyKey: string | symbol): PropertyDescriptor;Description
Retrieves the property descriptor for a given class and property key.
Checks both the target and its prototype for the property descriptor.