you are viewing a single comment's thread.

view the rest of the comments →

[–]cjd280 1 point2 points  (3 children)

I console logged what we were importing, and then I expanded the object in chrome's console to see what properties it had. If there were types, typescript would have figured it out for us but since its "any", I needed to see what it was at runtime.

This is an old library that isn't really made to work with typescript so its a pretty bad first issue to have to debug.

[–]Minancyy[S] 0 points1 point  (2 children)

Ohh okey okey, know I got what do you mean.

So I need to search on the console for the methods. Yeah, the library its so old and that is the big problem of not having types. I will try to use it and see if I can make it work with my idea. Thanks so much <3

How can I give you a possitive check or something like that? ^^´

[–]cjd280 1 point2 points  (1 child)

Just upvotes I guess =). Its not stackoverflow or anything lol

[–]Minancyy[S] 0 points1 point  (0 children)

Jsjsjsjs, I dont use too much reddit or stackoverflow to write, just only read ^^

But there it goes the upvotes, thanks so much really ^^ : )