@ci-types/gjs
TypeScript icon, indicating that this package has built-in type declarations

1.0.12 • Public • Published

types-gjs

Typescript definitions for GJS - Gnome JavaScript

Generated with GitHub - Gr3q/GIR2TS: TypeScript declaration generator for GObject Introspection. and manually cleaned up.

Usage

This only works on a system where Gnome or some GTK based DM is installed.

Intended to be used with code running off of Gnome JS engine.

It can be included in the project by creatding a declaration file, for example gjs.d.ts:

import "@ci-types/gjs";

In the tsconfig.json file the option exactOptionalPropertyTypes should be set to true as for the construction of a GObject all properties are optional but are not allowed to be undefined.

Readme

Keywords

Package Sidebar

Install

npm i @ci-types/gjs

Weekly Downloads

7

Version

1.0.12

License

MIT

Unpacked Size

10.5 MB

Total Files

35

Last publish

Collaborators

  • gr3q