gjsify / ts-for-gir

TypeScript type definition generator for GObject introspection interfaces
https://gjsify.org/pages/projects
Apache License 2.0
237 stars 18 forks source link

Allow to toggle between package.json support + further cleanups from the gi.ts merge #176

Closed JumpLink closed 2 months ago

JumpLink commented 2 months ago
ewlsh commented 2 months ago

Taking a look...

JumpLink commented 2 months ago

@ewlsh Some in the GNOME community want the types to work without package.json and NPM.

I think for types without package.json support it is easier to generate all gir types in a single file, because in Ambient modules no relative imports are allowed and without package.json support only relative imports are possible. I will try that next.