diff --git a/scripts/types.sh b/scripts/types.sh index 554e5e6..05229be 100644 --- a/scripts/types.sh +++ b/scripts/types.sh @@ -5,4 +5,4 @@ fi echo "Building types, this can take long..." -pnpx @ts-for-gir/cli generate --ignoreVersionConflicts -o ./src/@girs +pnpx @ts-for-gir/cli generate --ignoreVersionConflicts -o ./@girs diff --git a/src/app.ts b/src/app.ts index cdafb52..44b7c5e 100644 --- a/src/app.ts +++ b/src/app.ts @@ -134,7 +134,7 @@ export class Shell extends Gtk.Application { connections.set(this, this.connect("shutdown", () => this.#scope.dispose())); createRoot(() => { - console.log(`Colorshell: initialized instance as: "colorshell"`); + console.log(`Colorshell: initializing`); this.#scope = getScope(); Stylesheet.getDefault().compileApply(); diff --git a/src/tsconfig.json b/src/tsconfig.json index 20e19d6..4666781 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -8,6 +8,9 @@ "lib": ["ES2024"], "moduleResolution": "bundler", "skipLibCheck": true, + "types": [ + "../@girs" + ], "strict": true, "jsx": "react-jsx", "jsxImportSource": "ags/gtk4"