@girs/sdk-gnome-50
v5.4.0
Published
GJS TypeScript type definitions for -1 namespaces, generated as one self-contained package
Downloads
1,083
Readme
@girs/sdk-gnome-50
GJS TypeScript type definitions for -1 namespaces, generated by ts-for-gir as one self-contained package.
Every namespace is a subpath, and the namespaces reference each other inside the package — so the whole set is installed, resolved and versioned as a unit, and no namespace can end up resolving against a differently-versioned copy from the registry.
import "@girs/sdk-gnome-50/gtk-4.0";
import "@girs/sdk-gnome-50/adw-1";
import Gtk from "gi://Gtk?version=4.0";There is no barrel: importing @girs/sdk-gnome-50 on its own is not supported, because a single entry
point over every namespace would pull the whole set into any program that touches one of them.
To keep the classic @girs/* import specifiers in an existing project, map them once:
// tsconfig.json
"paths": { "@girs/*": ["./node_modules/@girs/sdk-gnome-50/*"] }