NextPageRouterHandler: ((req, res) => Promise<unknown> | unknown)

Type declaration

    • (req, res): Promise<unknown> | unknown
    • Parameters

      • req: NextApiRequest
      • res: NextApiResponse

      Returns Promise<unknown> | unknown