We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remix-validated-form
@remix-validated-form/with-zod
@remix-validated-form/with-yup
zod-form-data
https://github.com/haines/remix-validated-form-ts-error
npm run typecheck
node_modules/remix-validated-form/dist/index.d.ts:165:33 - error TS2304: Cannot find name 'FORM_DEFAULTS_FIELD'. 165 [formDefaultsKey: `${typeof FORM_DEFAULTS_FIELD}_${string}`]: any;
Type-checking succeeds
No response
N/A
This appears to have been introduced in #222
The text was updated successfully, but these errors were encountered:
I was able to trace this issue back to tsup and opened an issue here. If we don't get a response, we can fix it by exporting the type.
tsup
Fortunately, I don't think this type is very critical. You should be able to set "skipLibCheck": true in your tsconfig and go about your day :).
"skipLibCheck": true
Sorry, something went wrong.
Nice find, thanks for investigating!
Merge pull request #281 from stephenwade/patch-1
390925d
Export FORM_DEFAULTS_FIELD to fix #227
Successfully merging a pull request may close this issue.
Which packages are impacted?
remix-validated-form
@remix-validated-form/with-zod
@remix-validated-form/with-yup
zod-form-data
What version of these packages are you using?
remix-validated-form
: 4.6.7Please provide a link to a minimal reproduction of the issue.
https://github.com/haines/remix-validated-form-ts-error
Steps to Reproduce the Bug or Issue
remix-validated-form
to a Remix appnpm run typecheck
Expected behavior
Type-checking succeeds
Screenshots or Videos
No response
Platform
N/A
Additional context
This appears to have been introduced in #222
The text was updated successfully, but these errors were encountered: