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

Typescript support #212

Open
manniecobham opened this issue Oct 27, 2023 · 1 comment
Open

Typescript support #212

manniecobham opened this issue Oct 27, 2023 · 1 comment

Comments

@manniecobham
Copy link

Is Typescript supported for this npm package?

I cannot use the vue-phone-number-input in vue2 typescript. Is there any work around as I get the error.
Trynpm i --save-dev @types/vue-phone-number-input if it exists or add a new declaration (.d.ts) file containing `declare module 'vue-phone-number-input';

@LouisMazel
Copy link
Owner

Hi,

This module is un maintained now and no types are available.

Use the new version available here, for Vue 3 only and fully typed: https://louismazel.github.io/maz-ui-3/components/maz-phone-number-input

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

No branches or pull requests

2 participants