Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue-tsc 2.0.7 / 2.0.10 - 2.0.13 – Detecred node_modules typecheck error #4249

Open
YumaInaura opened this issue Apr 10, 2024 · 0 comments
Open

Comments

@YumaInaura
Copy link

Error version

  • vue-tsc 2.0.10
  • vue-tsc 2.0.11

No trouble in

  • vue-tsc 2.0.7

Detail

when executed command

nuxi typecheck

node_modules type check error found.

node_modules/vue-slider-component/lib/vue-slider.vue:798:17 - error TS2532: Object is possibly 'undefined'.

798           pos = this.control!.markList[newIndex].pos
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/vue-slider-component/lib/vue-slider.vue:801:43 - error TS2345: Argument of type 'Value | undefined' is not assignable to parameter of type 'Value'.

801             this.control!.getIndexByValue(this.control!.dotsValue[this.focusDotIndex]),
                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Auto generated web/.nuxt/tsconfig.json is not changed from 2.0.7

  "include": [
    "./nuxt.d.ts",
    "../.config/nuxt.*",
    "../**/*",
    "../node_modules/@nuxtjs/tailwindcss/runtime",
    "../node_modules/@nuxt/devtools/runtime",
    "../node_modules/@nuxt/telemetry/runtime",
    ".."
  ],
  "exclude": [
    "../node_modules",
    "../../node_modules",
    "../node_modules/nuxt/node_modules",
    "../node_modules/@nuxtjs/tailwindcss/runtime/server",
    "../node_modules/@nuxt/devtools/runtime/server",
    "../node_modules/@nuxt/telemetry/runtime/server",
    "../dist",
    "../.output"
  ],
@YumaInaura YumaInaura changed the title vue-tsc 2.0.7 / 2.0.10 – Detecred node_modules typecheck error vue-tsc 2.0.7 / 2.0.10 - 2.0.13 – Detecred node_modules typecheck error Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant