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

Add GLib.Error.stack property #201

Closed swsnr closed 2 weeks ago

swsnr commented 1 month ago

Fixes #196

swsnr commented 1 month ago

@JumpLink This is mostly an educated guess, from looking at other injection files. Is this correct? How do I test this locally?

swsnr commented 1 month ago

Okay, I managed to run yarn build:types:packages:gtk4 and now GLib.Error in @types/glib-2.0 has a stack field:

GLib.Error

So presumably, this works?

swsnr commented 2 weeks ago

@JumpLink Would you take a look?

JumpLink commented 2 weeks ago

@swsnr Sorry for the late response, I'm still on parental leave at the moment. Looks good for me, thanks for the contribution!

swsnr commented 2 weeks ago

Oh sorry, wasn't aware 😇

Thanks for merging ❤️