Replies: 1 comment
|
Hi @sonnyp, Yes, atm I’d recommend you generate the types on build time., for a specific Flatpak SDK, it might look something like this: In practice, however, I haven’t actually had any problems so far simply using the very latest types versions that I regularly publish on npm, even if the on runtime used versions differ. But something like a meta-package for the SDKs on npm would actually be quite handy anyway. I’ll have a think about whether that’s feasible 👍 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
Workbench author here.
We are currently using gi-types for our (currently) experimental TypeScript support.
Workbench like all Flatpak apps is tied to a specific runtime version. Is there a way to get ts-for-gir types for a specific sdk version? Such as gnome//51
If not, do you recommend me to build types using ts-for-gir at build time ?
Thank you
All reactions