diff --git a/packages/next/shared/lib/utils.ts b/packages/next/shared/lib/utils.ts index 8bafaf018789..7f152924823a 100644 --- a/packages/next/shared/lib/utils.ts +++ b/packages/next/shared/lib/utils.ts @@ -267,7 +267,7 @@ export type NextApiResponse = ServerResponse & { export type NextApiHandler = ( req: NextApiRequest, res: NextApiResponse -) => void | Promise +) => unknown | Promise /** * Utils