Do you want to consider using TypeScript to refactor code to get better TypeScript syntax support? And updated to koa3.