Skip to content

fix: Update IsPostalCode.ts, optional ' locale ' causing errors in runtime #2592

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

csori99
Copy link

@csori99 csori99 commented Mar 24, 2025

Locale should not be marked as optional, under the hood it doesnt accept undefined as a value, causing errors.

Description

Locale should not be marked as optional, under the hood it doesnt accept undefined as a value, causing errors.

Checklist

  • the pull request title describes what this PR does (not a vague title like Update index.md)
  • the pull request targets the default branch of the repository (develop)
  • the code follows the established code style of the repository
    • npm run prettier:check passes
    • npm run lint:check passes
  • 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 #[issue number], fixes #[issue number]

locale should not be marked as optional, under the hood it doesnt accept undefined as a value, causing errors.
@csori99 csori99 changed the title Update IsPostalCode.ts, optional ' locale ' causing errors in runtime fix: Update IsPostalCode.ts, optional ' locale ' causing errors in runtime Mar 24, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant