We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31a03ee commit 48619e1Copy full SHA for 48619e1
packages/openapi-code-generator/src/typescript/typescript-nextjs/typescript-nextjs.generator.ts
@@ -244,7 +244,7 @@ export class ServerRouterBuilder implements ICompilable {
244
(bodyParamsType === "void" || bodyParamIsRequired
245
? ""
246
: " | undefined")
247
- }>,
+ }, void>,
248
respond: ${titleCase(operation.operationId)}Responder,
249
ctx: {request: NextRequest}
250
) => Promise<KoaRuntimeResponse<unknown>>`,
0 commit comments