Skip to content

covenix / QueryParam

Function: QueryParam()

QueryParam(name): ParameterDecorator

Defined in: src/parameters.ts:69

Injects req.query[name] as a handler argument. Resolves to the value parsed by @Query when present, otherwise the raw (uncoerced) query value.

Parameters

name

string

Query string key.

Returns

ParameterDecorator