telegram-typings icon indicating copy to clipboard operation
telegram-typings copied to clipboard

alternative generator for ts and flow

Open KriNeko opened this issue 6 years ago • 3 comments

Parser and code generator(ts, flow)

KriNeko avatar Aug 31 '19 18:08 KriNeko

Cool! So this parser is able to figure out everything from the API documentation without having to hard-code any type information like the previous version does here, right?

https://github.com/sergeysova/telegram-typings/blob/6ab52ba83c17d53947ba8bd667db8f617b6dd32e/lib/main.js#L35-L99


In order for me to be able to review this, we'd need to get the diff of the generated files to a reasonable amount. What if we'd first do a PR to run all the generated, current files through prettier, merge that PR, and then update this PR to also do a post-process pass through prettier?

I hope we would get to a few hundred lines of changes to the generated type files instead of thousands.

valscion avatar Sep 02 '19 07:09 valscion

What about generator for rust language?

sergeysova avatar Sep 02 '19 08:09 sergeysova

Any progress on this? @KriNeko

EdJoPaTo avatar Apr 13 '20 09:04 EdJoPaTo