Closed
Description
Bug report
Describe the bug
After upgrading to Next 9.4, I was having an issue with what seems like Typescript reporting an error in my custom TS server project:
TypeError: Cannot read property 'kind' of undefined
The logging is a bit noisy, but compilation is successful.
To Reproduce
This issue could be reproduced by just running the official nextjs custom-server-typescript example here: https://github.com/zeit/next.js/tree/canary/examples/custom-server-typescript
essentially curl the example, cd into the directory, npm install && npm run dev, visit localhost:3000
Expected behavior
Should compile without any errors.
System information
- OS: macOS 10.15.4
- Version of Next.js: 9.4.0
- Version of Node.js: 10.16.3
Additional context
Add any other context about the problem here.