FAQ
Why do I see type errors in an ArkType package in node_modules
?
This can occur due to incompatibilities between your tsconfig.json
and ours. It is totally harmless as long as your types are correct in source.
We highly recommend enabling skipLibCheck
in every TypeScript project to avoid false negatives like this and greatly improve editor performance.
Is there a way to create an async morph?
Other than handling it as a promise on the output object, no.
Something I've thought a bit about but it seems it would add a huge amount of complexity to the type system for somewhat marginal benefit? Would be interested in use cases where it feels really impactful though and somewhat open to reconsidering in the long term.
If you have a compelling enough use case, let us know on Discord or GitHub