Closed dagimg-dot closed 1 month ago
Ah, I made the functions async in the TypeScript template which is only supported in the upcoming GNOME version (47). Weirdly, I did it correctly in the JS template.
So you can just remove the async from the method in the prefs.js file.
But yeah, I do need to add versioning (https://github.com/Leleat/create-gnome-extension/issues/6) to the project. While generally the API for GNOME extensions system doesn't change, it defintely is needed for the types.
After scaffolding the extension I went to the preferences page for the extension and got the following error with stacktrace.