fix(types): cannot `.use` non-return mw from `createMiddleware` (#4465)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* fix(types): cannot `.use` non-return mw from `createMiddleware` * chore: add tests
authored by Trung Dang · committed by GitHub · parent 5eb7c15 · Browse files · 2 files+25 added−7 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+25 added−7 removed
- tests:+19 added−1 removed
- other:+6 added−6 removed