-
-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Labels
Description
Describe the bug
When nuxt3 use defineProp, vue-tsc gets a type error, This problem only occurs in Nuxt,

Reproduction
https://github.com/Soya-xy/macros-nuxt.git
System Info
System:
OS: macOS 15.3
CPU: (8) arm64 Apple M1 Pro
Memory: 135.23 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.12.0 - ~/.local/state/fnm_multishells/83291_1736400856756/bin/node
npm: 10.9.0 - ~/.local/state/fnm_multishells/83291_1736400856756/bin/npm
pnpm: 9.9.0 - ~/Library/pnpm/pnpm
bun: 1.0.7 - ~/.bun/bin/bun
Browsers:
Chrome: 131.0.6778.264
Edge: 131.0.2903.99
Safari: 18.3Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.