next-api-utils
Preparing search index...
NextRouteHandlerSegmentData
Type Alias NextRouteHandlerSegmentData<PathParameters>
The segment data object passed to a Next.js API route handler as the second parameter.
type
NextRouteHandlerSegmentData
<
PathParameters
extends
Record
<
string
,
string
>
=
Record
<
never
,
never
>
,
>
=
{
params
:
Promise
<
PathParameters
>
;
}
Type Parameters
PathParameters
extends
Record
<
string
,
string
>
=
Record
<
never
,
never
>
Index
Properties
params
Properties
params
params
:
Promise
<
PathParameters
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
params
next-api-utils
Loading...
The segment data object passed to a Next.js API route handler as the second parameter.