We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
anymaniax
melloware
soartec-lab
Learn more about funding links in repositories.
Report abuse
1 parent 48436f2 commit 39a1884Copy full SHA for 39a1884
packages/hono/src/index.ts
@@ -477,7 +477,11 @@ const getContext = (verbOption: GeneratorVerbOptions) => {
477
verbOption.operationName,
478
)}Context<E extends Env = any> = Context<E, '${getRoute(
479
verbOption.pathRoute,
480
- )}', ${hasIn ? `{ in: { ${paramType}${queryType}${bodyType} }}` : ''}>`;
+ )}'${
481
+ hasIn
482
+ ? `, { in: { ${paramType}${queryType}${bodyType} }, out: { ${paramType}${queryType}${bodyType} } }`
483
+ : ''
484
+ }>`;
485
};
486
487
const getHeader = (
0 commit comments