Giter VIP home page Giter VIP logo

Comments (4)

andrew-boyd avatar andrew-boyd commented on May 27, 2024

Oops, that's definitely a typo in the docs. @formkit/zod is its own package and not part of the addons package because of its dependency on Zod.

Regarding your type declaration issue — does it resolve if you change your module resolution to "bundler" in your .tsconfig file?

from formkit.

Rednas83 avatar Rednas83 commented on May 27, 2024

@andrew-boyd Thanks for this quick workaround. It seems to work without issues for my application👌
"moduleResolution": "bundler"

I have no idea what it does, but will it also work with the default "node" in the future?
image

from formkit.

andrew-boyd avatar andrew-boyd commented on May 27, 2024

Yes, we certainly don't want require users to make changes to their configurations like this just to get FormKit to work. Some users in the Discord reported that 1.5.5 fixed their issues — even though the updates were unrelated to anything TypeScript. If you update and set your moduleResolution back to its default do you still see the issues?

from formkit.

Rednas83 avatar Rednas83 commented on May 27, 2024

My issue is also fixed after this update👌

Make sure also to run pnpm nuxt cleanup after updating tsconfig for cleaning the caches. Otherwise the old tsconfig might still be used after restarting with pnpm nuxt dev

from formkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.