New issue
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
Can't be used within remix routes #2337
Comments
Hey @arman94 Can you describe this issue? |
Not sure what OP means but I have issues with Remix. Just a regular import: import isEmail from 'validator/lib/isEmail'
import isEmail from 'validator/es/lib/isEmail' Results in:
But the files clearly are there, I can In my {
"compilerOptions": {
"module": "NodeNext",
"moduleResolution": "NodeNext",
"target": "ES2022",
}
} I can import with the file extension:
|
This is the exact issue I have with validator in Remix |
Type declarations are not handled in this project, but in the DefinitelyTyped repository; https://github.com/DefinitelyTyped/DefinitelyTyped |
Having the same issue here. I have |
I'm closing this issue since this is not something we can fix in this repo. Issues with |
No description provided.
The text was updated successfully, but these errors were encountered: