From 7773c3b808633fafe6acdd12cf78780ff810c149 Mon Sep 17 00:00:00 2001 From: Lucas Oskorep Date: Thu, 29 Jan 2026 02:41:59 -0500 Subject: [PATCH] feat: update code to work with new libs --- extension.ts | 4 ++-- justfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extension.ts b/extension.ts index afd68eb..1573223 100644 --- a/extension.ts +++ b/extension.ts @@ -1,5 +1,5 @@ import Meta from 'gi://Meta'; -import {Extension, ExtensionMetadata} from 'resource:///org/gnome/shell/extensions/extension.js'; +import {Extension} from 'resource:///org/gnome/shell/extensions/extension.js'; import * as Main from 'resource:///org/gnome/shell/ui/main.js'; import Gio from 'gi://Gio'; import Shell from 'gi://Shell'; @@ -11,7 +11,7 @@ export default class aerospike extends Extension { keyBindings: Map; windowManager: WindowManager; - constructor(metadata: ExtensionMetadata) { + constructor(metadata: ConstructorParameters[0]) { super(metadata); this.settings = this.getSettings('org.gnome.shell.extensions.aerospike'); this.keyBindings = new Map(); diff --git a/justfile b/justfile index fd12754..7925cdf 100644 --- a/justfile +++ b/justfile @@ -8,7 +8,7 @@ packages: build: packages && build-schemas rm -rf dist/* - tsc + pnpm exec tsc cp metadata.json dist/ cp stylesheet.css dist/ mkdir -p dist/schemas