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
There's an issue where the joi resolver is importing from @hapi/joi but @hapi/joi is a devDependency.
joi
@hapi/joi
I'm thinking @hapi/joi needs to be moved to dependencies?
../../node_modules/@hookform/resolvers/dist/joi.d.ts:2:17 - error TS2307: Cannot find module '@hapi/joi' or its corresponding type declarations.
The text was updated successfully, but these errors were encountered:
can you share a CSB?
Sorry, something went wrong.
What's a CSB?
I basically get this error when I compile w/ typescript. If I set skipLibCheck = true, it passes.
node version: v12.18.3 tsc: 4.0.5
Here's the TS options:
{ "compilerOptions": { "allowJs": true, "esModuleInterop": true, "moduleResolution": "node", "target": "es2018", "module": "CommonJs", "lib": ["es2018"], "jsx": "preserve", "outDir": "./dist", "strict": false, "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, "baseUrl": "./src/", "allowSyntheticDefaultImports": true, "isolatedModules": false, "noErrorTruncation": true, "sourceMap": true, }
codesandbox?
looks like it's been deprecated: #79 will release a new version soon.
No branches or pull requests
There's an issue where the
joi
resolver is importing from@hapi/joi
but@hapi/joi
is a devDependency.I'm thinking
@hapi/joi
needs to be moved to dependencies?../../node_modules/@hookform/resolvers/dist/joi.d.ts:2:17 - error TS2307: Cannot find module '@hapi/joi' or its corresponding type declarations.
The text was updated successfully, but these errors were encountered: