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 37c3ddd commit 2385f2dCopy full SHA for 2385f2d
src/use/koa.ts
@@ -122,7 +122,7 @@ export function createHandler<Context extends OperationContext = undefined>(
122
body: () => {
123
if (ctx.request.body) {
124
// in case koa has a body parser
125
- return ctx.request.body as any;
+ return ctx.request.body as Record<string, unknown>;
126
}
127
return new Promise<string>((resolve) => {
128
let body = '';
0 commit comments