@girs/metatest-12 4.9.0 → 5.1.0

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
@@ -4,7 +4,7 @@
4
4
  ![version](https://img.shields.io/npm/v/@girs/metatest-12)
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/metatest-12)
6
6
 
7
- GJS TypeScript type definitions for MetaTest-12 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.9.0.
7
+ GJS TypeScript type definitions for MetaTest-12 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.1.0.
8
8
 
9
9
  This package contains type declarations only. It ships no runtime code, so it adds
10
10
  nothing to your program and works with any bundler or none at all.
package/metatest-12.d.ts CHANGED
@@ -117,15 +117,12 @@ export namespace MetaTest {
117
117
  // Signals
118
118
  /** @signal */
119
119
  connect<K extends keyof ContextTest.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ContextTest.SignalSignatures[K]>): number;
120
- connect(signal: string, callback: (...args: any[]) => any): number;
121
120
 
122
121
  /** @signal */
123
122
  connect_after<K extends keyof ContextTest.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ContextTest.SignalSignatures[K]>): number;
124
- connect_after(signal: string, callback: (...args: any[]) => any): number;
125
123
 
126
124
  /** @signal */
127
- emit<K extends keyof ContextTest.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ContextTest.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never): void;
128
- emit(signal: string, ...args: any[]): void;
125
+ emit<K extends keyof ContextTest.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ContextTest.SignalSignatures[K]>): void;
129
126
 
130
127
  // Methods
131
128
  /**
@@ -170,15 +167,12 @@ export namespace MetaTest {
170
167
  // Signals
171
168
  /** @signal */
172
169
  connect<K extends keyof TestMonitor.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, TestMonitor.SignalSignatures[K]>): number;
173
- connect(signal: string, callback: (...args: any[]) => any): number;
174
170
 
175
171
  /** @signal */
176
172
  connect_after<K extends keyof TestMonitor.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, TestMonitor.SignalSignatures[K]>): number;
177
- connect_after(signal: string, callback: (...args: any[]) => any): number;
178
173
 
179
174
  /** @signal */
180
- emit<K extends keyof TestMonitor.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<TestMonitor.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never): void;
181
- emit(signal: string, ...args: any[]): void;
175
+ emit<K extends keyof TestMonitor.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<TestMonitor.SignalSignatures[K]>): void;
182
176
 
183
177
  // Methods
184
178
  destroy(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/metatest-12",
3
- "version": "4.9.0",
3
+ "version": "5.1.0",
4
4
  "description": "GJS TypeScript type definitions for MetaTest-12",
5
5
  "type": "module",
6
6
  "module": "metatest-12.js",
@@ -31,27 +31,27 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gjs": "^4.9.0",
35
- "@girs/xlib-2.0": "^4.9.0",
36
- "@girs/xfixes-4.0": "^4.9.0",
37
- "@girs/meta-12": "^4.9.0",
38
- "@girs/gobject-2.0": "^4.9.0",
39
- "@girs/glib-2.0": "^4.9.0",
40
- "@girs/gdesktopenums-3.0": "^4.9.0",
41
- "@girs/coglpango-12": "^4.9.0",
42
- "@girs/pangocairo-1.0": "^4.9.0",
43
- "@girs/cairo-1.0": "^4.9.0",
44
- "@girs/pango-1.0": "^4.9.0",
45
- "@girs/harfbuzz-0.0": "^4.9.0",
46
- "@girs/freetype2-2.0": "^4.9.0",
47
- "@girs/gio-2.0": "^4.9.0",
48
- "@girs/gmodule-2.0": "^4.9.0",
49
- "@girs/cogl-12": "^4.9.0",
50
- "@girs/graphene-1.0": "^4.9.0",
51
- "@girs/gl-1.0": "^4.9.0",
52
- "@girs/clutter-12": "^4.9.0",
53
- "@girs/json-1.0": "^4.9.0",
54
- "@girs/atk-1.0": "^4.9.0" },
34
+ "@girs/gjs": "^5.1.0",
35
+ "@girs/xlib-2.0": "^5.1.0",
36
+ "@girs/xfixes-4.0": "^5.1.0",
37
+ "@girs/meta-12": "^5.1.0",
38
+ "@girs/gobject-2.0": "^5.1.0",
39
+ "@girs/glib-2.0": "^5.1.0",
40
+ "@girs/gdesktopenums-3.0": "^5.1.0",
41
+ "@girs/coglpango-12": "^5.1.0",
42
+ "@girs/pangocairo-1.0": "^5.1.0",
43
+ "@girs/cairo-1.0": "^5.1.0",
44
+ "@girs/pango-1.0": "^5.1.0",
45
+ "@girs/harfbuzz-0.0": "^5.1.0",
46
+ "@girs/freetype2-2.0": "^5.1.0",
47
+ "@girs/gio-2.0": "^5.1.0",
48
+ "@girs/gmodule-2.0": "^5.1.0",
49
+ "@girs/cogl-12": "^5.1.0",
50
+ "@girs/graphene-1.0": "^5.1.0",
51
+ "@girs/gl-1.0": "^5.1.0",
52
+ "@girs/clutter-12": "^5.1.0",
53
+ "@girs/json-1.0": "^5.1.0",
54
+ "@girs/atk-1.0": "^5.1.0" },
55
55
  "devDependencies": {
56
56
  "typescript": "*"
57
57
  },