jackocnr / intl-tel-input

A JavaScript plugin for entering and validating international telephone numbers. React and Vue components also included.
https://intl-tel-input.com
MIT License
7.68k stars 1.95k forks source link

Is it possible to implement typescript implementation for VueJs #1794

Open Ibrahimmushtaq98 opened 2 months ago

Ibrahimmushtaq98 commented 2 months ago

Currently there is JavaScript plugin for the Vue Component (Yay!) Just wondering if there will be the typescript implementations for that as well

Thanks for the hard work on this plugin!

jackocnr commented 2 months ago

I think that's a great idea! The Vue Component is actually very simple - it should be easy to add them. I don't have time to implement this myself, but would welcome a pull request.

jackocnr commented 1 month ago

For anyone else interested in contributing here, please note the discussion about directory structure here: https://github.com/jackocnr/intl-tel-input/pull/1801

Ibrahimmushtaq98 commented 1 month ago

Well, this issue has been open for a while. I got good news for this. I have managed to get typescript definitions generated for the vue portion. I'll create a PR in a day or two!

I have kept the directory structure the same and currently i am just trying to make a simple demo using the typescript definition. Can't wait to share it!

spacecakes commented 3 weeks ago

Looking forward to that @Ibrahimmushtaq98 !