@girs/coglpango-15 4.8.0 → 5.0.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/coglpango-15)
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/coglpango-15)
6
6
 
7
- GJS TypeScript type definitions for CoglPango-15 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.8.0.
7
+ GJS TypeScript type definitions for CoglPango-15 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.0.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/coglpango-15.d.ts CHANGED
@@ -124,15 +124,12 @@ export namespace CoglPango {
124
124
  // Signals
125
125
  /** @signal */
126
126
  connect<K extends keyof Renderer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Renderer.SignalSignatures[K]>): number;
127
- connect(signal: string, callback: (...args: any[]) => any): number;
128
127
 
129
128
  /** @signal */
130
129
  connect_after<K extends keyof Renderer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Renderer.SignalSignatures[K]>): number;
131
- connect_after(signal: string, callback: (...args: any[]) => any): number;
132
130
 
133
131
  /** @signal */
134
- emit<K extends keyof Renderer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Renderer.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never): void;
135
- emit(signal: string, ...args: any[]): void;
132
+ emit<K extends keyof Renderer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Renderer.SignalSignatures[K]>): void;
136
133
  }
137
134
 
138
135
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/coglpango-15",
3
- "version": "4.8.0",
3
+ "version": "5.0.0",
4
4
  "description": "GJS TypeScript type definitions for CoglPango-15",
5
5
  "type": "module",
6
6
  "module": "coglpango-15.js",
@@ -31,21 +31,21 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gjs": "^4.8.0",
35
- "@girs/pangocairo-1.0": "^4.8.0",
36
- "@girs/cairo-1.0": "^4.8.0",
37
- "@girs/gobject-2.0": "^4.8.0",
38
- "@girs/glib-2.0": "^4.8.0",
39
- "@girs/pango-1.0": "^4.8.0",
40
- "@girs/harfbuzz-0.0": "^4.8.0",
41
- "@girs/freetype2-2.0": "^4.8.0",
42
- "@girs/gio-2.0": "^4.8.0",
43
- "@girs/gmodule-2.0": "^4.8.0",
44
- "@girs/mtk-15": "^4.8.0",
45
- "@girs/graphene-1.0": "^4.8.0",
46
- "@girs/cogl-15": "^4.8.0",
47
- "@girs/xlib-2.0": "^4.8.0",
48
- "@girs/gl-1.0": "^4.8.0" },
34
+ "@girs/gjs": "^5.0.0",
35
+ "@girs/pangocairo-1.0": "^5.0.0",
36
+ "@girs/cairo-1.0": "^5.0.0",
37
+ "@girs/gobject-2.0": "^5.0.0",
38
+ "@girs/glib-2.0": "^5.0.0",
39
+ "@girs/pango-1.0": "^5.0.0",
40
+ "@girs/harfbuzz-0.0": "^5.0.0",
41
+ "@girs/freetype2-2.0": "^5.0.0",
42
+ "@girs/gio-2.0": "^5.0.0",
43
+ "@girs/gmodule-2.0": "^5.0.0",
44
+ "@girs/mtk-15": "^5.0.0",
45
+ "@girs/graphene-1.0": "^5.0.0",
46
+ "@girs/cogl-15": "^5.0.0",
47
+ "@girs/xlib-2.0": "^5.0.0",
48
+ "@girs/gl-1.0": "^5.0.0" },
49
49
  "devDependencies": {
50
50
  "typescript": "*"
51
51
  },