You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Generate `composeMiddleware` overloads up to 30 arguments.
* Use file extensions in `import`s.
* Use `Simplify` in the return type of `composeMiddleware` for
better ergonomics.
* Add `extends {}` to the type parameters of a `Middleware` function--I
don't actually remember why, but the types didn't infer correctly
otherwise.
* Use `const`s instead of `function`s for middleware functions. The
`@type` tag doesn't apply correctly to a `function` declaration--which
makes sense, since there's no equivalent syntax that would do it in
TypeScript: microsoft/TypeScript#27387
0 commit comments