Someone made Typescript bindings: https://github.com/sammydre/ts-for-gjs/

It would be really great if someone were willing to work on a generator for
tern files.

On Fri, Nov 9, 2018 at 11:30 AM Tony Houghton <h...@realh.co.uk> wrote:

> I'm hoping it would be quite easy to write a tool which uses gjs to import
> a gi module and use reflection to expose all its symbols and generate a
> tern file or something similar, for auto-completion. There's a project
> called fakegir which does this for python. Is there anything for Javascript
> already out there?
>
> This idea could be extended by cross-referencing with typelib or gir files
> to generate bindings for type-safe frontend languages like Typescript or
> Kotlin. Kotlin is really nice.
>
> --
> TH
>
> _______________________________________________
> javascript-list mailing list
> javascript-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/javascript-list
>
_______________________________________________
javascript-list mailing list
javascript-list@gnome.org
https://mail.gnome.org/mailman/listinfo/javascript-list

Reply via email to