normalise
normalise<
T
>(route
):object
Type Parameters
Type Parameter |
---|
T extends AnyCompiledRoute |
Parameters
Parameter | Type |
---|---|
route | T |
Returns
object
Name | Type | Default value |
---|---|---|
Body | undefined | Parser | - |
Headers | undefined | Parser | - |
Output | undefined | Parser | - |
Params | undefined | Parser | - |
Query | undefined | Parser | - |
methods | InferPart <T , "Methods" >[] | - |
path | NonNullable <InferPart <T , "Path" >> | - |
payload | T | route |