Skip to content

Commit

Permalink
Add type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Apr 22, 2024
1 parent f581de7 commit e7aad9c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@

tags

.yarn/
node_modules/
package-lock.json
yarn.lock
2 changes: 2 additions & 0 deletions extension/g3kb-switch@g3kb-switch.org/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
nodeLinker: node-modules
5 changes: 4 additions & 1 deletion extension/g3kb-switch@g3kb-switch.org/extension.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/// <reference types="@girs/gio-2.0/gio-2.0" />
/// <reference types="@girs/gnome-shell/dist/extensions" />
/// <reference types="@girs/gnome-shell/dist/ui/status/keyboard-ambient" />

'use strict';

import Gio from 'gi://Gio';
Expand Down Expand Up @@ -99,4 +103,3 @@ export default class G3kbSwitchExtension extends Extension {
return [success, returnValue];
}
}

6 changes: 6 additions & 0 deletions extension/g3kb-switch@g3kb-switch.org/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"devDependencies": {
"@girs/gio-2.0": "^2.78.0-3.3.0",
"@girs/gnome-shell": "^46.0.0-beta6"
}
}

0 comments on commit e7aad9c

Please sign in to comment.