@girs/gobject-2.0 2.84.4-4.0.0-beta.34 → 2.84.4-4.0.0-beta.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gobject-2.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GObject-2.0, generated from library version 2.84.4 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.34.
8
+ GJS TypeScript type definitions for GObject-2.0, generated from library version 2.84.4 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.36.
9
9
 
10
10
  ## Install
11
11
 
package/gobject-2.0.d.ts CHANGED
@@ -131,6 +131,11 @@ export namespace GObject {
131
131
  $gtype?: GType<T>;
132
132
  }
133
133
 
134
+ export namespace Object {
135
+ // Interface for virtual method implementations
136
+ export interface Interface extends GObject.Interface {}
137
+ }
138
+
134
139
  /**
135
140
  * Use this to signify a function that must be overridden in an
136
141
  * implementation of the interface.
package/package.json CHANGED
@@ -1,58 +1,52 @@
1
1
  {
2
- "name": "@girs/gobject-2.0",
3
- "version": "2.84.4-4.0.0-beta.34",
4
- "description": "GJS TypeScript type definitions for GObject-2.0, generated from library version 2.84.4",
5
- "type": "module",
6
- "module": "gobject-2.0.js",
7
- "main": "gobject-2.0.js",
8
- "exports": {
9
- "./ambient": {
10
- "types": "./gobject-2.0-ambient.d.ts",
11
- "import": "./gobject-2.0-ambient.js",
12
- "default": "./gobject-2.0-ambient.js"
2
+ "name": "@girs/gobject-2.0",
3
+ "version": "2.84.4-4.0.0-beta.36",
4
+ "description": "GJS TypeScript type definitions for GObject-2.0, generated from library version 2.84.4",
5
+ "type": "module",
6
+ "module": "gobject-2.0.js",
7
+ "main": "gobject-2.0.js",
8
+ "exports": {
9
+ "./ambient": {
10
+ "types": "./gobject-2.0-ambient.d.ts",
11
+ "import": "./gobject-2.0-ambient.js",
12
+ "default": "./gobject-2.0-ambient.js"
13
+ },
14
+ "./import": {
15
+ "types": "./gobject-2.0-import.d.ts",
16
+ "import": "./gobject-2.0-import.js",
17
+ "default": "./gobject-2.0-import.js"
18
+ },
19
+ "./gobject-2.0": {
20
+ "types": "./gobject-2.0.d.ts",
21
+ "import": "./gobject-2.0.js",
22
+ "default": "./gobject-2.0.js"
23
+ },
24
+ ".": {
25
+ "types": "./index.d.ts",
26
+ "import": "./index.js",
27
+ "default": "./index.js"
28
+ }
13
29
  },
14
- "./import": {
15
- "types": "./gobject-2.0-import.d.ts",
16
- "import": "./gobject-2.0-import.js",
17
- "default": "./gobject-2.0-import.js"
30
+ "scripts": {
31
+ "test": "tsc --project tsconfig.json"
18
32
  },
19
- "./gobject-2.0": {
20
- "types": "./gobject-2.0.d.ts",
21
- "import": "./gobject-2.0.js",
22
- "default": "./gobject-2.0.js"
33
+ "dependencies": {
34
+ "@girs/gjs": "4.0.0-beta.36",
35
+ "@girs/glib-2.0": "2.84.4-4.0.0-beta.36" },
36
+ "devDependencies": {
37
+ "typescript": "*"
23
38
  },
24
- ".": {
25
- "types": "./index.d.ts",
26
- "import": "./index.js",
27
- "default": "./index.js"
28
- }
29
- },
30
- "scripts": {
31
- "test": "tsc --project tsconfig.json"
32
- },
33
- "dependencies": {
34
- "@girs/gjs": "^4.0.0-beta.34",
35
- "@girs/glib-2.0": "^2.84.4-4.0.0-beta.34"
36
- },
37
- "devDependencies": {
38
- "typescript": "*"
39
- },
40
- "keywords": [
41
- "Gir",
42
- "TypeScript",
43
- "types",
44
- "GObject-Introspection",
45
- "GJS",
46
- "GObject-2.0"
47
- ],
48
- "author": "ts-for-gir",
49
- "license": "MIT",
50
- "repository": {
51
- "type": "git",
52
- "url": "git+https://github.com/gjsify/ts-for-gir.git"
53
- },
54
- "bugs": {
55
- "url": "https://github.com/gjsify/ts-for-gir/issues"
56
- },
57
- "homepage": "https://github.com/gjsify/types/tree/main/gobject-2.0#readme"
58
- }
39
+ "keywords": ["Gir", "TypeScript", "types", "GObject-Introspection", "GJS", "GObject-2.0"],
40
+ "author": "ts-for-gir",
41
+ "license": "MIT",
42
+ "repository": {
43
+ "type": "git",
44
+ "url": "https://github.com/gjsify/types.git"
45
+ },
46
+ "bugs": {
47
+ "url": "https://github.com/gjsify/ts-for-gir/issues"
48
+ },
49
+ "homepage": "https://github.com/gjsify/types/tree/main/gobject-2.0#readme"
50
+ }
51
+
52
+