grmjs / grm

MTProto API Client for Deno 🦕
https://t.me/grm_news
MIT License
46 stars 3 forks source link

Remove unused type alias declaration #5

Closed rojvv closed 2 years ago

dcdunkan commented 2 years ago

Just took a look through it, and it is actually used at

https://github.com/dcdunkan/deno_gramjs/blob/ee5c1d3d0afb209b5e25a2714da0e21c47f52bad/src/tl/api.d.ts#L43

However, we could replace it with any as gram-js/gramjs did. I thought it might be good if I just specify it. Any other type is better than any.

https://github.com/gram-js/gramjs/blob/a40198a4b61233348654c6bf442a86590b258e84/gramjs/tl/api.d.ts#L10

https://github.com/gram-js/gramjs/blob/a40198a4b61233348654c6bf442a86590b258e84/gramjs/tl/api.d.ts#L39