# descriptorOf Function
Module | import { descriptorOf } from "@tsed/core" |
---|---|
Source | /packages/core/src/utils/ObjectUtils.ts |
# Overview
function descriptorOf(target: any, propertyKey: string | symbol): PropertyDescriptor;
# Description
Return the descriptor for a given class and propertyKey
- Session & cookies
- Passport.js
- TypeORM
- Mongoose
- GraphQL
- Socket.io
- Swagger
- AJV
- Multer
- Serve static files
- Templating
- Throw HTTP Exceptions
- Customize 404
- AWS
- Jest
- Seq
- Controllers
- Providers
- Model
- Converters
- Middlewares
- Pipes
- Interceptors
- Authentication
- Hooks
- Injection scopes
- Custom providers
- Custom endpoint decorator
- Testing