Skip to content
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

Bug in typescript regions #140

Open
enoh-barbu opened this issue Jun 13, 2022 · 2 comments
Open

Bug in typescript regions #140

enoh-barbu opened this issue Jun 13, 2022 · 2 comments

Comments

@enoh-barbu
Copy link

enoh-barbu commented Jun 13, 2022

Current definition in TS for regions is:
regions?: [string] | string;

Therefore I can not assing many regions, due to TS error

image

The fix needed is to change it to:
regions?: string[] | string;

@viclafouch
Copy link

viclafouch commented Jul 3, 2022

Here, looks like this package is no more maintained.. :/

This package (https://github.com/viclafouch/mui-tel-input) handles this problem and is well maintained

@enoh-barbu
Copy link
Author

enoh-barbu commented Jul 4, 2022

@viclafouch How did you figured out that is no longer maintained?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants