Comments (8)
Adding skipLibCheck isn't really a fix, since it skips checking on all .d.ts
files across the whole project. This can result in any
leaking out, since they are legitimate errors.
does not satisfy the constraint
errors are usually pretty simple to fix, I can take a look now.
from valibot.
Does the skipLibCheck
option solves the problem? https://www.typescriptlang.org/tsconfig/#skipLibCheck
from valibot.
Yes, setting skipLibCheck
to true
resolves the issue for me, thank you! Feel free to close the issue.
from valibot.
I will add it to our docs first! Thanks for bringing this up!
from valibot.
Feel free to have a look. 🙌
from valibot.
v0.38.0 is available 🚀
from valibot.
just use skipLibCheck
that would be like if zod devs responded to "Why is zod 100kb" with "just use gzip".
I'm currently using tsc-silent, to work around this issue, here's my current hall of shame.
tsc-silent -p ./tsconfig.json --suppress @/node_modules/solid-start/ --suppress @/node_modules/@rollup/ --suppress @/node_modules/valibot/dist/index.d.ts
from valibot.
This will probably be fixed in the next version.
from valibot.
Related Issues (20)
- `forward` breaks `pipe` in >=v0.38.x HOT 11
- `GenericSchema` where `TOutput` does not default to `TInput` HOT 2
- bug: `transform` output type inside an object is broken on v0.39 HOT 3
- Adding labels to values in issue paths HOT 1
- Return type of `getDotPath` function is `null` for schemas with `pipeAsync` HOT 3
- How to create a typescript type for an arg of type v.object or v.pipe ? HOT 3
- Add clear property to indicate invalid property path HOT 6
- Validation Recheck Not Triggered for Other Indices or Fields in Array When Using forward with a Specific Index HOT 1
- Decimal doesn't support non-integer numbers HOT 2
- Returned Type of startsWith is still string HOT 1
- `rawCheck` accepts a function that returns a `Promise` HOT 4
- Pipe for actions/checks without schema HOT 5
- Move Explanation to top in Api docs HOT 1
- Is it possible to create an error/warning on a field which is non blocking? HOT 1
- Is there a way to get the metadata as type? HOT 1
- Is it possible to combine `GenericSchema` with `variant`? HOT 3
- ValibotSchema to FormikValidationSchema HOT 5
- Error: The "nanoid" action cannot be converted to JSON Schema. HOT 2
- Improve type inference with `NoInfer` type (`check`, `forward`, ...) HOT 2
- Expose `pipe` rest parameter argument type
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from valibot.