Koa.js framework setup to run within Next.js API routes.
MIT License
Bot releases are visible (Hide)
attachRouter
router
argument.Published by github-actions[bot] over 2 years ago
attachRouter
to accept KoaApi
with any contextattachRouter
function usagePublished by github-actions[bot] over 2 years ago
daa0024: Move attachRouter
from KoaApi
class to a special function.
I couldn not make the types work when trying to add the attachRouter
to augmented koa
typescript module.
Published by github-actions[bot] over 2 years ago
body
type from any
to unknown
.attachRouter
methodPublished by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago