-
-
Notifications
You must be signed in to change notification settings - Fork 512
Labels
good reproduction ✨This issue provides a good reproduction, we will be able to investigate it firstThis issue provides a good reproduction, we will be able to investigate it first🔩 p2-edge-case
Description
Vue - Official extension or vue-tsc version
3.2.0
VSCode version
Vue version
3.5.26
TypeScript version
5.9.3
System Info
package.json dependencies
Steps to reproduce
- Run pnpm i
- Run pnpm typecheck
- Observe that type error occurs
"v1" | "v2"' is not assignable to parameter of type 'EnumA'. Type '"v1"' is not assignable to type 'EnumA'.
What is expected?
No type errors, downgrade to v3.1.8 to observe that no type errors occur
What is actually happening?
An error is thrown on Objects with enum values as key during usage of v-for.
Link to minimal reproduction
https://stackblitz.com/edit/github-gzbuzr-z2x2agyf?file=package.json
Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
good reproduction ✨This issue provides a good reproduction, we will be able to investigate it firstThis issue provides a good reproduction, we will be able to investigate it first🔩 p2-edge-case