Type alias WithApiPropsFactory<TContext>

WithApiPropsFactory<TContext>: (<TResponse>(options) => NextApiHandler<TResponse>)

A function, which generates which generates a NextApiHandler<TResponse> function that is used for API endpoints in Next.js.

Type Parameters

Type declaration

Returns

The new function.

Generated using TypeDoc