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
608 stars 153 forks source link

Typescript support #212

Open manniecobham opened 1 year ago

manniecobham commented 1 year 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 1 year 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