intl-tel-input icon indicating copy to clipboard operation
intl-tel-input copied to clipboard

Is it possible to implement typescript implementation for VueJs

Open Ibrahimmushtaq98 opened this issue 1 year ago • 6 comments

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!

Ibrahimmushtaq98 avatar Sep 14 '24 19:09 Ibrahimmushtaq98

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 avatar Sep 14 '24 19:09 jackocnr

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

jackocnr avatar Oct 09 '24 11:10 jackocnr

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!

Ibrahimmushtaq98 avatar Oct 23 '24 05:10 Ibrahimmushtaq98

Looking forward to that @Ibrahimmushtaq98 !

spacecakes avatar Oct 30 '24 10:10 spacecakes

@Ibrahimmushtaq98 Sorry for bothering you, but are there any updates?

GrameJunior avatar Nov 27 '24 13:11 GrameJunior

Sorry, life hit hard for me so I couldn't work on it as much. But when I tried working on it, I couldn't get an example to run which is my main issue. It seems like it did exported the typescript definition but I guess not properly?

Sorry about that, ill try again later on

Ibrahimmushtaq98 avatar Dec 04 '24 15:12 Ibrahimmushtaq98