Skip to content

Issue with slot typing using function signature #10376

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

Closed
Kondziii opened this issue Feb 21, 2024 · 2 comments
Closed

Issue with slot typing using function signature #10376

Kondziii opened this issue Feb 21, 2024 · 2 comments

Comments

@Kondziii
Copy link

Vue version

3.4.19

Link to minimal reproduction

https://github.com/Kondziii/vue-hello

Steps to reproduce

  1. Open App.vue file where I defined two components using defineComponent method
  2. In template when you mouse over slot you will see correct typing only in case of the second component
    image
    image

What is expected?

I expect to get correct type interference in both cases

What is actually happening?

The slot types are not working with components declared using "Function Signature"

System Info

No response

Any additional comments?

No response

@pikax
Copy link
Member

pikax commented Feb 28, 2024

This looks to be a dupe of #9649

@KazariEX
Copy link
Member

The reproduction repo no longer exists.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 2, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Mar 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants