Giter VIP home page Giter VIP logo

Comments (14)

jorisre avatar jorisre commented on May 13, 2024 3

Or just install the latest version of @hookform/resolvers :)

Oh, when was it fixed? I was having this issue last week.

Since ~19 days ago
➡️ Release Note

from resolvers.

jorisre avatar jorisre commented on May 13, 2024 2

You can add skipLibCheck to your tsconfig for now.
#20 (comment)

Or just install the latest version of @hookform/resolvers :)

from resolvers.

ArtBIT avatar ArtBIT commented on May 13, 2024

Are all devDependencies in package.json truly dev deps?

from resolvers.

bluebill1049 avatar bluebill1049 commented on May 13, 2024

#20

we are looking for solutions, yes they r dev dependency if you check the package.json.

from resolvers.

ArtBIT avatar ArtBIT commented on May 13, 2024

That's what I am saying, shouldn't they be listed as dependencies (not devDependencies) since those packages are imported at runtime, from the dist folder?

from resolvers.

bluebill1049 avatar bluebill1049 commented on May 13, 2024

if they are dependencies, then the bundle size would be tripled right? we need to solve the problem not importing other libs.

from resolvers.

ArtBIT avatar ArtBIT commented on May 13, 2024

Since you only seem to need to import type definitions, maybe you could use https://github.com/DefinitelyTyped/DefinitelyTyped ?
@types/joi
@types/yup
@types/superstruct

from resolvers.

bluebill1049 avatar bluebill1049 commented on May 13, 2024

we could try that, i will build a beta version today for you.

from resolvers.

ArtBIT avatar ArtBIT commented on May 13, 2024

Okay, thank you.

from resolvers.

bluebill1049 avatar bluebill1049 commented on May 13, 2024

@hookform/[email protected] all dev-dep
@hookform/[email protected] all dep

let me know.

from resolvers.

ArtBIT avatar ArtBIT commented on May 13, 2024

@hookform/[email protected] has the same errors:
https://gist.github.com/ArtBIT/341bda5c1f4263fc2bda86630c6263ee

@hookform/[email protected] has one less, and slightly different ones.
https://gist.github.com/ArtBIT/cf5015c78bdf1015c79b2895c55f72af

from resolvers.

bluebill1049 avatar bluebill1049 commented on May 13, 2024

looks like @hookform/[email protected] all dev-dep, looks better... if you install all the @type definition will that solve the problem?

from resolvers.

wolfhoundjesse avatar wolfhoundjesse commented on May 13, 2024

You can add skipLibCheck to your tsconfig for now.
#20 (comment)

from resolvers.

wolfhoundjesse avatar wolfhoundjesse commented on May 13, 2024

Or just install the latest version of @hookform/resolvers :)

Oh, when was it fixed? I was having this issue last week.

from resolvers.

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.