# Decorator UseParamType
Decorator operation input pipeModule | import { UseParamType } from "@tsed/common" |
---|---|
Source | /packages/common/src/mvc/decorators/params/useParamType.ts |
# Overview
function UseParamType(paramType: string | ParamTypes): ParameterDecorator;
# Description
Get the object from request (like body, params, query, etc...).
Other topics
- Session & cookies
- Passport.js
- Keycloak
- TypeORM
- Mongoose
- GraphQL
- Socket.io
- Swagger
- AJV
- Multer
- Serve static files
- Templating
- AWS
- Seq
- OIDC
- Stripe
- Controllers
- Providers
- Model
- JsonMapper
- Middlewares
- Pipes
- Interceptors
- Authentication
- Hooks
- Exceptions
- Throw HTTP Exceptions
- Cache
- Hooks
- Response Filter
- Injection scopes
- Custom providers
- Custom endpoint decorator
- Testing
- Customize 404