nuxt / typescript

TypeScript Support for Nuxt 2
https://typescript.nuxtjs.org
MIT License
567 stars 124 forks source link

@nuxt/typescript-build‘s dependencies with typescript@4.2 is too low #616

Closed allenchannn closed 1 year ago

allenchannn commented 1 year ago

Describe the bug i use pnpm to install nuxt and use "useUnknownInCatchVariables" options in tsconfig.json. But there is something wrong like this:

To Reproduce Steps to reproduce the behavior:

  1. Clone repository '...'
  2. Run '....'
  3. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

rchl commented 1 year ago

Latest version includes TS 5.x as a peer dependency. Maybe you are not using the latest version.