Adding a second middleware broke our TypeScript types | Dark Hacker News