rsnext/packages/next/server/web/spec-extension
JJ Kasper cc9e1ea3a1
Fix middleware types with skipLibCheck: false (#32025)
This ensures type checking passes correctly for middleware types when `skipLibCheck: false` is set in `tsconfig.json`. This also moves the `middleware-types` to be an isolated test to ensure it isn't relying on any monorepo dependencies. 

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

Fixes: https://github.com/vercel/next.js/issues/31992#issuecomment-984174872
2021-12-02 18:49:49 +00:00
..
fetch-event.ts Improve deprecation errors for new middleware API (#30316) 2021-10-26 17:03:39 +02:00
request.ts fix(types): add missing ua types for NextRequest (#31901) 2021-11-30 15:59:02 -06:00
response.ts Fix middleware types with skipLibCheck: false (#32025) 2021-12-02 18:49:49 +00:00