primefaces / primevue

Next Generation Vue UI Component Library
https://primevue.org
MIT License
10.84k stars 1.24k forks source link

Form: type of v-slot="$form" is incorrect #6717

Open Lirrrx opened 3 weeks ago

Lirrrx commented 3 weeks ago

type of v-slot="$form" is incorrect. Screenshot 1 - real $form contents. Screenshot 2 - incorrect type definitions.

CleanShot 2024-11-03 at 00 40 55@2x

CleanShot 2024-11-03 at 00 40 21@2x

Repo with reproduce https://github.com/Lirrrx/prime-vue-form-ts-issue

Reproducer

https://stackblitz.com/edit/primevue-4-ts-vite-issue-template-vblteo?file=src%2FApp.vue

PrimeVue version

4.2.1

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

any

Steps to reproduce the behavior

No response

Expected behavior

$form types represent real output

mertsincan commented 3 weeks ago

Thanks a lot for your report! We'll check and get back to you.