Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ArgumentMetadata

Interface describing a pipe implementation's transform() method metadata argument.

see

Pipes

publicapi

Hierarchy

  • ArgumentMetadata

Index

Properties

Properties

Optional Readonly data

data: string | undefined

String passed as an argument to the decorator. Example: @Body('userId') would yield userId

Optional Readonly metatype

metatype: Type<any> | undefined

Underlying base type (e.g., String) of the parameter, based on the type definition in the route handler.

Readonly type

type: Paramtype

Indicates whether argument is a body, query, param, or custom parameter

Generated using TypeDoc