Skip to content

Incorrect type inference when you define slot element in v-for loop #3787

Closed
@nkeyy0

Description

@nkeyy0

I'm trying to implement a table with dynamic slot names that are based on the column names, but I am faced with an issue with types in the v-for loop inside the template. For some reason the result type of the value is inferred as never, but if we do the same in the typescript we get a different type. Looks like it's an issue in the template type inferring.

Link to repro

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood reproduction ✨This issue provides a good reproduction, we will be able to investigate it first

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy