@girs/peas-2 2.0.0-4.0.0-beta.38 → 2.0.0-4.0.0-beta.40

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +6 -6
  3. package/peas-2.d.ts +3 -13
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/peas-2)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Peas-2, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.38.
8
+ GJS TypeScript type definitions for Peas-2, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.40.
9
9
 
10
10
  ## Install
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/peas-2",
3
- "version": "2.0.0-4.0.0-beta.38",
3
+ "version": "2.0.0-4.0.0-beta.40",
4
4
  "description": "GJS TypeScript type definitions for Peas-2, generated from library version 2.0.0",
5
5
  "type": "module",
6
6
  "module": "peas-2.js",
@@ -31,11 +31,11 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gjs": "4.0.0-beta.38",
35
- "@girs/gio-2.0": "2.86.0-4.0.0-beta.38",
36
- "@girs/gobject-2.0": "2.86.0-4.0.0-beta.38",
37
- "@girs/glib-2.0": "2.86.0-4.0.0-beta.38",
38
- "@girs/gmodule-2.0": "2.0.0-4.0.0-beta.38" },
34
+ "@girs/gjs": "4.0.0-beta.40",
35
+ "@girs/gio-2.0": "2.86.4-4.0.0-beta.40",
36
+ "@girs/gobject-2.0": "2.86.4-4.0.0-beta.40",
37
+ "@girs/glib-2.0": "2.86.4-4.0.0-beta.40",
38
+ "@girs/gmodule-2.0": "2.0.0-4.0.0-beta.40" },
39
39
  "devDependencies": {
40
40
  "typescript": "*"
41
41
  },
package/peas-2.d.ts CHANGED
@@ -24,15 +24,6 @@ export namespace Peas {
24
24
  * These identify the various errors that can occur while
25
25
  * loading a plugin.
26
26
  */
27
-
28
- /**
29
- * These identify the various errors that can occur while
30
- * loading a plugin.
31
- */
32
- export namespace PluginInfoError {
33
- export const $gtype: GObject.GType<PluginInfoError>;
34
- }
35
-
36
27
  enum PluginInfoError {
37
28
  /**
38
29
  * The plugin failed to load.
@@ -51,6 +42,7 @@ export namespace Peas {
51
42
  */
52
43
  DEP_LOADING_FAILED,
53
44
  }
45
+
54
46
  interface ExtensionSetForeachFunc<A = GObject.Object> {
55
47
  (set: ExtensionSet, info: PluginInfo, extension: A, data?: any | null): void;
56
48
  }
@@ -69,8 +61,7 @@ export namespace Peas {
69
61
  // Constructor properties interface
70
62
 
71
63
  interface ConstructorProps<A extends GObject.Object = GObject.Object>
72
- extends GObject.Object.ConstructorProps,
73
- Gio.ListModel.ConstructorProps {
64
+ extends GObject.Object.ConstructorProps, Gio.ListModel.ConstructorProps {
74
65
  loaded_plugins: string[];
75
66
  loadedPlugins: string[];
76
67
  nonglobal_loaders: boolean;
@@ -987,8 +978,7 @@ export namespace Peas {
987
978
  // Constructor properties interface
988
979
 
989
980
  interface ConstructorProps<A extends GObject.Object = GObject.Object>
990
- extends GObject.Object.ConstructorProps,
991
- Gio.ListModel.ConstructorProps {
981
+ extends GObject.Object.ConstructorProps, Gio.ListModel.ConstructorProps {
992
982
  construct_properties: any;
993
983
  constructProperties: any;
994
984
  engine: Engine;