Skip to content

Template attributes aren't type checked #12258

Open
@richardsimko

Description

@richardsimko

Vue version

3.5.12

Link to minimal reproduction

https://github.com/richardsimko/vue-bug

Steps to reproduce

  1. Use a <template> element in a v-for

  2. Use an invalid value for v-bind:key

  3. Check out the example repo

  4. Run npm run type-check

What is expected?

Type error on the invalid property use in v-bind:key

What is actually happening?

No error

System Info

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions