alik0211 / mtproto-core

Telegram API JS (MTProto) client library for Node.js and browser
https://mtproto-core.js.org
GNU General Public License v3.0
625 stars 111 forks source link

Rewrite the project in TypeScript #256

Open ghost opened 2 years ago

ghost commented 2 years ago

The project is really cool and nice to use

But no type info is provided, so it's really hard to write code or even just debugg the project itself

What about to rewrite the project in TypeScript

Super Magical Quick Start

mkdir mtproto-core
cd mtproto-core
npm create typescript-project
code .
npm run start 
JerryCauser commented 1 year ago

Why "rewrite" if you started with "no type provided"?

May be just provide typings? I think it will be enough for your isssue