# ParamFn Decorator operation input
Module | import { ParamFn } from "@tsed/common" |
---|---|
Source | /packages/common/src/mvc/decorators/params/paramFn.ts |
# Overview
function ParamFn(fn: (param: ParamMetadata, parameters: DecoratorParameters) => void): <T>(target: Type<any>, propertyKey: string, index: number) => void;
# Description
Get the Param metdata. Use this decorator to compose your own decorator.
- 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