sfxcode / formkit-primevue

PrimeVue (v4, v3) support for the FormKit validation Framwork
https://sfxcode.github.io/formkit-primevue
85 stars 10 forks source link

Config Types #4

Closed JohnCampionJr closed 1 year ago

JohnCampionJr commented 1 year ago

If I have formkit.config.ts (rather than js), I get a type error saying no types are available on

import { primeInputs } from '@sfxcode/formkit-primevue'
sfxcode commented 1 year ago

Hi, getting the same warning but it work in my projects even with a formkit.config.ts file. e.g. nuxt-primevue.

Maybe i missed something in generating the code while building, but i have no clue at the moment.

Thank you for your input,

Tom

sfxcode commented 1 year ago

Added index.d.ts in build. Type errors should be fixed now.