koa-flow-declarations How to install First, install and configure babel. npm install --save-dev koa-flow-declarations How to use import Koa from 'koa'; import type { KoaContext } from 'koa-flow-declarations/KoaContext'; const app = new Koa(); app.use(async (ctx: KoaContext) => { });