summaryrefslogtreecommitdiff
path: root/node/src/imports.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node/src/imports.ts')
-rw-r--r--node/src/imports.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/node/src/imports.ts b/node/src/imports.ts
new file mode 100644
index 0000000..47f582a
--- /dev/null
+++ b/node/src/imports.ts
@@ -0,0 +1,8 @@
+import gi from "node-gtk"
+
+export { gi }
+export const Gtk = gi.require("Gtk", "3.0")
+export const GLib = gi.require("GLib", "2.0")
+export const Gio = gi.require("Gio", "3.0")
+export const GObject = gi.require("GObject", "2.0")
+export const Astal = gi.require("Astal", "0.1")