Closed
Description
Bug report
Describe the bug
TypeError: Cannot read property 'kind' of undefined'
for examples running <4.0 Typescript.
This is a typescript issue and was fixed in 4.0 microsoft/TypeScript#38383 (comment)
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- $
npx create-next-app --example with-react-intl with-react-intl-app
- Run $
npm run dev
- See typescript error
Expected behavior
No Error
System information
- OS: Windows 10
- Browser (if applies) [e.g. chrome, safari]
- Version of Next.js: v9.5.3-canary.25
- Version of Node.js: [e.g. 10.10.0]
Additional context
Other affected examples
- custom-server-typescript/package.json: "typescript": "3.8.3"
- with-ant-design-pro-layout-less/package.json: "typescript": "3.8.3"
- with-aws-amplify-typescript/package.json: "typescript": "3.9.5"
- with-expo-typescript/package.json: "typescript": "3.9.3"
- with-typescript/package.json: "typescript": "3.9.7"
- with-typescript-styled-components/package.json: "typescript": "3.5.2"
- with-typescript-types/package.json: "typescript": "3.7.3
"