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
The documentation states that the isAlpha function accepts a locale and an options argument with an ignore key, but the code does not reflect this.
Examples
Additional context
Validator.js version: ^13.6.0 Node.js version: 16.1.0 OS platform: macOS
The text was updated successfully, but these errors were encountered:
It does
validator.js/src/lib/isAlpha.js
Line 4 in 8c4b3b3
Sorry, something went wrong.
That was indeed the case. Thank you for pointing that out.
It looks like the issue is with the @types/validator from the DefininitelyTyped/types/validator repo.
@types/validator
I will repost the issue there.
I suspect that @types/validator is outdated in many parts. There was an issue about adding types directly here #1271
You are correct. Thank you.
No branches or pull requests
isAlpha method doesn't accept options argument
The documentation states that the isAlpha function accepts a locale and an options argument with an ignore key, but the code does not reflect this.
Examples
Additional context
Validator.js version: ^13.6.0
Node.js version: 16.1.0
OS platform: macOS
The text was updated successfully, but these errors were encountered: