Closed lsthornt closed 5 months ago
You're right. Thanks for the PR.
Could you update the README with the new type as well?
packages/remix-create-express-app/README.md
is updated, did I miss an occurrence elsewhere? (Thought I grepped the whole repo)
No, you're right... sorry, it's been a long day.
Given that middleware is awaited, I believe this is the correct typing for middleware functions.
I chose not to introduce a breaking change by applying consistent casing to
MiddleWareFunction
=>MiddlewareFunction
, but happy to revise/add an alias if desired.