@girs/gtef-2 2.0.0-4.0.0-beta.18 → 2.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/gtef-2)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Gtef-2, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.18.
8
+ GJS TypeScript type definitions for Gtef-2, generated from library version 2.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/gtef-2.d.ts CHANGED
@@ -1309,20 +1309,20 @@ export namespace Gtef {
1309
1309
  * #GtefFile.
1310
1310
  * @param compression_type the new compression type.
1311
1311
  */
1312
- set_compression_type(compression_type: CompressionType): void;
1312
+ set_compression_type(compression_type: CompressionType | null): void;
1313
1313
  /**
1314
1314
  * Sets the encoding. If `encoding` is %NULL, the UTF-8 encoding will be set.
1315
1315
  * By default the encoding is taken from the #GtefFile.
1316
1316
  * @param encoding the new encoding, or %NULL for UTF-8.
1317
1317
  */
1318
1318
  set_encoding(encoding?: Encoding | null): void;
1319
- set_flags(flags: FileSaverFlags): void;
1319
+ set_flags(flags: FileSaverFlags | null): void;
1320
1320
  /**
1321
1321
  * Sets the newline type. By default the newline type is taken from the
1322
1322
  * #GtefFile.
1323
1323
  * @param newline_type the new newline type.
1324
1324
  */
1325
- set_newline_type(newline_type: NewlineType): void;
1325
+ set_newline_type(newline_type: NewlineType | null): void;
1326
1326
  }
1327
1327
 
1328
1328
  module FoldRegion {
@@ -1406,7 +1406,7 @@ export namespace Gtef {
1406
1406
  * chaining-up to its parent's draw method.
1407
1407
  * @param state a #GtefGutterRendererFoldsState.
1408
1408
  */
1409
- set_state(state: GutterRendererFoldsState): void;
1409
+ set_state(state: GutterRendererFoldsState | null): void;
1410
1410
  }
1411
1411
 
1412
1412
  module InfoBar {
@@ -1524,7 +1524,7 @@ export namespace Gtef {
1524
1524
  source_property: string,
1525
1525
  target: GObject.Object,
1526
1526
  target_property: string,
1527
- flags: GObject.BindingFlags,
1527
+ flags: GObject.BindingFlags | null,
1528
1528
  ): GObject.Binding;
1529
1529
  /**
1530
1530
  * Complete version of g_object_bind_property().
@@ -1565,7 +1565,7 @@ export namespace Gtef {
1565
1565
  source_property: string,
1566
1566
  target: GObject.Object,
1567
1567
  target_property: string,
1568
- flags: GObject.BindingFlags,
1568
+ flags: GObject.BindingFlags | null,
1569
1569
  transform_to?: GObject.BindingTransformFunc | null,
1570
1570
  transform_from?: GObject.BindingTransformFunc | null,
1571
1571
  notify?: GLib.DestroyNotify | null,
@@ -2008,7 +2008,7 @@ export namespace Gtef {
2008
2008
  * Sets the orientation of the `orientable`.
2009
2009
  * @param orientation the orientable’s new orientation.
2010
2010
  */
2011
- set_orientation(orientation: Gtk.Orientation): void;
2011
+ set_orientation(orientation: Gtk.Orientation | null): void;
2012
2012
  /**
2013
2013
  * Creates a binding between `source_property` on `source` and `target_property`
2014
2014
  * on `target`.
@@ -2053,7 +2053,7 @@ export namespace Gtef {
2053
2053
  source_property: string,
2054
2054
  target: GObject.Object,
2055
2055
  target_property: string,
2056
- flags: GObject.BindingFlags,
2056
+ flags: GObject.BindingFlags | null,
2057
2057
  ): GObject.Binding;
2058
2058
  /**
2059
2059
  * Complete version of g_object_bind_property().
@@ -2094,7 +2094,7 @@ export namespace Gtef {
2094
2094
  source_property: string,
2095
2095
  target: GObject.Object,
2096
2096
  target_property: string,
2097
- flags: GObject.BindingFlags,
2097
+ flags: GObject.BindingFlags | null,
2098
2098
  transform_to?: GObject.BindingTransformFunc | null,
2099
2099
  transform_from?: GObject.BindingTransformFunc | null,
2100
2100
  notify?: GLib.DestroyNotify | null,
@@ -2530,7 +2530,7 @@ export namespace Gtef {
2530
2530
  source_property: string,
2531
2531
  target: GObject.Object,
2532
2532
  target_property: string,
2533
- flags: GObject.BindingFlags,
2533
+ flags: GObject.BindingFlags | null,
2534
2534
  ): GObject.Binding;
2535
2535
  /**
2536
2536
  * Complete version of g_object_bind_property().
@@ -2571,7 +2571,7 @@ export namespace Gtef {
2571
2571
  source_property: string,
2572
2572
  target: GObject.Object,
2573
2573
  target_property: string,
2574
- flags: GObject.BindingFlags,
2574
+ flags: GObject.BindingFlags | null,
2575
2575
  transform_to?: GObject.BindingTransformFunc | null,
2576
2576
  transform_from?: GObject.BindingTransformFunc | null,
2577
2577
  notify?: GLib.DestroyNotify | null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gtef-2",
3
- "version": "2.0.0-4.0.0-beta.18",
3
+ "version": "2.0.0-4.0.0-beta.19",
4
4
  "description": "GJS TypeScript type definitions for Gtef-2, generated from library version 2.0.0",
5
5
  "type": "module",
6
6
  "module": "gtef-2.js",
@@ -31,21 +31,21 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/atk-1.0": "^2.54.0-4.0.0-beta.18",
35
- "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.18",
36
- "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.18",
37
- "@girs/gdk-3.0": "^3.24.43-4.0.0-beta.18",
38
- "@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.18",
39
- "@girs/gio-2.0": "^2.82.2-4.0.0-beta.18",
40
- "@girs/gjs": "^4.0.0-beta.18",
41
- "@girs/glib-2.0": "^2.82.2-4.0.0-beta.18",
42
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.18",
43
- "@girs/gobject-2.0": "^2.82.2-4.0.0-beta.18",
44
- "@girs/gtk-3.0": "^3.24.43-4.0.0-beta.18",
45
- "@girs/gtksource-3.0": "^3.0.0-4.0.0-beta.18",
46
- "@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.18",
47
- "@girs/pango-1.0": "^1.54.0-4.0.0-beta.18",
48
- "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.18"
34
+ "@girs/atk-1.0": "^2.54.0-4.0.0-beta.19",
35
+ "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.19",
36
+ "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.19",
37
+ "@girs/gdk-3.0": "^3.24.43-4.0.0-beta.19",
38
+ "@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.19",
39
+ "@girs/gio-2.0": "^2.82.2-4.0.0-beta.19",
40
+ "@girs/gjs": "^4.0.0-beta.19",
41
+ "@girs/glib-2.0": "^2.82.2-4.0.0-beta.19",
42
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.19",
43
+ "@girs/gobject-2.0": "^2.82.2-4.0.0-beta.19",
44
+ "@girs/gtk-3.0": "^3.24.43-4.0.0-beta.19",
45
+ "@girs/gtksource-3.0": "^3.0.0-4.0.0-beta.19",
46
+ "@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.19",
47
+ "@girs/pango-1.0": "^1.54.0-4.0.0-beta.19",
48
+ "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.19"
49
49
  },
50
50
  "devDependencies": {
51
51
  "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": ["./gtef-2.d.ts"]
21
23
  }