LouisMazel / vue-phone-number-input

A phone number input made with Vue JS (format & valid phone number)
https://louismazel.github.io/vue-phone-number-input
MIT License
606 stars 153 forks source link

Typescript support #212

Open manniecobham opened 10 months ago

manniecobham commented 10 months ago

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 commented 10 months ago

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