Hi, I’m new to the forum, as well as Gnome.
I want to write a Gnome Extension in TS and I’ve followed the guide provided in the GJS docs.
I tried to create a src folder to put my extension.ts
, ambient.d.ts
, prefs.ts
in one place, updated the Makefile and tsconfig.json to use those folders, but they’re causing me issues when enabling the extension.
Using the example in this GJS guide TS guide, it throws for a missing schema_id
when my schemas folder is present and satisfied with my compiled schema.
Dropping the src/
files to root resolves the issue completely and I can run the extension fine, how do I organize this project properly? Do you have a example extension for this?
E.g.
"include": [
"src/ambient.d.ts",
],
"files": [
"src/extension.ts",
"src/prefs.ts"
],