@girs/msg-0 0.0.0-4.0.0-beta.18 → 0.0.0-4.0.0-beta.19

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/msg-0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Msg-0, generated from library version 0.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.18.
8
+ GJS TypeScript type definitions for Msg-0, generated from library version 0.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.19.
9
9
 
10
10
 
11
11
  ## Install
package/msg-0.d.ts CHANGED
@@ -628,7 +628,7 @@ export namespace Msg {
628
628
  source_property: string,
629
629
  target: GObject.Object,
630
630
  target_property: string,
631
- flags: GObject.BindingFlags,
631
+ flags: GObject.BindingFlags | null,
632
632
  ): GObject.Binding;
633
633
  /**
634
634
  * Complete version of g_object_bind_property().
@@ -669,7 +669,7 @@ export namespace Msg {
669
669
  source_property: string,
670
670
  target: GObject.Object,
671
671
  target_property: string,
672
- flags: GObject.BindingFlags,
672
+ flags: GObject.BindingFlags | null,
673
673
  transform_to?: GObject.BindingTransformFunc | null,
674
674
  transform_from?: GObject.BindingTransformFunc | null,
675
675
  notify?: GLib.DestroyNotify | null,
@@ -1050,7 +1050,7 @@ export namespace Msg {
1050
1050
  * @param cancellable optional #GCancellable object, %NULL to ignore.
1051
1051
  * @returns %TRUE if successful. If an error has occurred, this function will return %FALSE and set @error appropriately if present.
1052
1052
  */
1053
- seek(offset: number, type: GLib.SeekType, cancellable?: Gio.Cancellable | null): boolean;
1053
+ seek(offset: number, type: GLib.SeekType | null, cancellable?: Gio.Cancellable | null): boolean;
1054
1054
  /**
1055
1055
  * Tells the current position within the stream.
1056
1056
  * @returns the (positive or zero) offset from the beginning of the buffer, zero if the target is not seekable.
@@ -1162,7 +1162,7 @@ export namespace Msg {
1162
1162
  source_property: string,
1163
1163
  target: GObject.Object,
1164
1164
  target_property: string,
1165
- flags: GObject.BindingFlags,
1165
+ flags: GObject.BindingFlags | null,
1166
1166
  ): GObject.Binding;
1167
1167
  /**
1168
1168
  * Complete version of g_object_bind_property().
@@ -1203,7 +1203,7 @@ export namespace Msg {
1203
1203
  source_property: string,
1204
1204
  target: GObject.Object,
1205
1205
  target_property: string,
1206
- flags: GObject.BindingFlags,
1206
+ flags: GObject.BindingFlags | null,
1207
1207
  transform_to?: GObject.BindingTransformFunc | null,
1208
1208
  transform_from?: GObject.BindingTransformFunc | null,
1209
1209
  notify?: GLib.DestroyNotify | null,
@@ -1621,7 +1621,7 @@ export namespace Msg {
1621
1621
  * @param cancellable a #GCancellable
1622
1622
  * @returns a #MsgMailFolder
1623
1623
  */
1624
- get_mail_folder(type: MessageMailFolderType, cancellable?: Gio.Cancellable | null): MailFolder;
1624
+ get_mail_folder(type: MessageMailFolderType | null, cancellable?: Gio.Cancellable | null): MailFolder;
1625
1625
  /**
1626
1626
  * Get all folders for given service
1627
1627
  * @param cancellable a #GCancellable
@@ -1761,7 +1761,7 @@ export namespace Msg {
1761
1761
  source_property: string,
1762
1762
  target: GObject.Object,
1763
1763
  target_property: string,
1764
- flags: GObject.BindingFlags,
1764
+ flags: GObject.BindingFlags | null,
1765
1765
  ): GObject.Binding;
1766
1766
  /**
1767
1767
  * Complete version of g_object_bind_property().
@@ -1802,7 +1802,7 @@ export namespace Msg {
1802
1802
  source_property: string,
1803
1803
  target: GObject.Object,
1804
1804
  target_property: string,
1805
- flags: GObject.BindingFlags,
1805
+ flags: GObject.BindingFlags | null,
1806
1806
  transform_to?: GObject.BindingTransformFunc | null,
1807
1807
  transform_from?: GObject.BindingTransformFunc | null,
1808
1808
  notify?: GLib.DestroyNotify | null,
@@ -2385,7 +2385,9 @@ export namespace Msg {
2385
2385
  vfunc_refresh_authorization(cancellable?: Gio.Cancellable | null): boolean;
2386
2386
  }
2387
2387
 
2388
- export const Authorizer: AuthorizerNamespace;
2388
+ export const Authorizer: AuthorizerNamespace & {
2389
+ new (): Authorizer; // This allows `obj instanceof Authorizer`
2390
+ };
2389
2391
 
2390
2392
  /**
2391
2393
  * Name of the imported GIR library
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/msg-0",
3
- "version": "0.0.0-4.0.0-beta.18",
3
+ "version": "0.0.0-4.0.0-beta.19",
4
4
  "description": "GJS TypeScript type definitions for Msg-0, generated from library version 0.0.0",
5
5
  "type": "module",
6
6
  "module": "msg-0.js",
@@ -31,14 +31,14 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gio-2.0": "^2.82.2-4.0.0-beta.18",
35
- "@girs/gjs": "^4.0.0-beta.18",
36
- "@girs/glib-2.0": "^2.82.2-4.0.0-beta.18",
37
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.18",
38
- "@girs/goa-1.0": "^3.52.0-4.0.0-beta.18",
39
- "@girs/gobject-2.0": "^2.82.2-4.0.0-beta.18",
40
- "@girs/json-1.0": "^1.10.0-4.0.0-beta.18",
41
- "@girs/soup-3.0": "^3.6.0-4.0.0-beta.18"
34
+ "@girs/gio-2.0": "^2.82.2-4.0.0-beta.19",
35
+ "@girs/gjs": "^4.0.0-beta.19",
36
+ "@girs/glib-2.0": "^2.82.2-4.0.0-beta.19",
37
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.19",
38
+ "@girs/goa-1.0": "^3.52.0-4.0.0-beta.19",
39
+ "@girs/gobject-2.0": "^2.82.2-4.0.0-beta.19",
40
+ "@girs/json-1.0": "^1.10.0-4.0.0-beta.19",
41
+ "@girs/soup-3.0": "^3.6.0-4.0.0-beta.19"
42
42
  },
43
43
  "devDependencies": {
44
44
  "typescript": "*"
package/tsconfig.json CHANGED
@@ -15,7 +15,9 @@
15
15
  "removeComments": false,
16
16
  "inlineSourceMap": false,
17
17
  "inlineSources": false,
18
- "newLine": "LF"
18
+ "newLine": "LF",
19
+ // Show diagnostics
20
+ "diagnostics": true
19
21
  },
20
22
  "include": ["./msg-0.d.ts"]
21
23
  }