Skip to content

Feature/1289 property x does not exist on type createcomponentpublicinstancewithmixins #1290

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ThornWalli
Copy link
Contributor

This pull request includes several updates to improve compatibility with the latest Vue and Nuxt versions, as well as some configuration adjustments. The most notable changes involve updating type declarations for Vue compatibility, modifying the Nuxt configuration to enable TypeScript type checking, and cleaning up unused dependencies.

Updates for Vue Compatibility:

  • Updated type declaration in docs/src/guide/definitions.md and src/types/module.ts to use declare module 'vue' instead of declare module '@vue/runtime-core' for ComponentCustomProperties, ensuring compatibility with the latest Vue versions. [1] [2]

Nuxt Configuration Adjustments:

  • Removed the vite-plugin-checker dependency and its associated configuration from playground/nuxt.config.ts, simplifying the build setup. [1] [2]
  • Enabled TypeScript type checking by setting typescript.typeCheck to true in playground/nuxt.config.ts, improving development reliability.

Additional Type Enhancements:

  • Added an import for the Directive type from Vue in src/types/module.ts, likely to support future functionality or improve type coverage.

Copy link

pkg-pr-new bot commented Apr 19, 2025

Open in StackBlitz

npm i https://pkg.pr.new/basics/nuxt-booster@1290

commit: 300cc79

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

Successfully merging this pull request may close these issues.

Property X does not exist on type CreateComponentPublicInstanceWithMixins
2 participants