ArgumentMetadata
Interface describing a pipe implementation's transform()
method metadata argument.
interface ArgumentMetadata {
type: Paramtype
metatype?: Type<any> | undefined
data?: string | undefined
}
See also
Properties
Property | Description |
---|---|
type: Paramtype
|
Read-only.
Indicates whether argument is a body, query, param, or custom parameter |
metatype?: Type<any> | undefined
|
Read-only.
Underlying base type (e.g., |
data?: string | undefined
|
Read-only.
String passed as an argument to the decorator.
Example: |