class-validator
class-validator copied to clipboard
feat(IsIBAN): Add `IsIBANOptions` as argument for `IsIBAN` decorator
Description
Add the options as an argument to the IsIBAN decorator as well as the isIBAN function and pass it along to validator.js.
Checklist
- [x] the pull request title describes what this PR does (not a vague title like
Update index.md) - [x] the pull request targets the default branch of the repository (
develop) - [x] the code follows the established code style of the repository
npm run prettier:checkpassesnpm run lint:checkpasses
- [ ] tests are added for the changes I made (if any source code was modified)
- [ ] documentation added or updated
- [ ] I have run the project locally and verified that there are no errors
Fixes
fixes #2617