@girs/amtk-4 4.0.0-4.0.0-beta.18 → 4.0.0-4.0.0-beta.20

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/amtk-4)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Amtk-4, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.18.
8
+ GJS TypeScript type definitions for Amtk-4, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.20.
9
9
 
10
10
 
11
11
  ## Install
package/amtk-4.d.ts CHANGED
@@ -18,8 +18,8 @@ import type Pango from '@girs/pango-1.0';
18
18
  import type HarfBuzz from '@girs/harfbuzz-0.0';
19
19
  import type freetype2 from '@girs/freetype2-2.0';
20
20
  import type Gio from '@girs/gio-2.0';
21
- import type GModule from '@girs/gmodule-2.0';
22
21
  import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
22
+ import type GModule from '@girs/gmodule-2.0';
23
23
  import type Atk from '@girs/atk-1.0';
24
24
 
25
25
  export namespace Amtk {
@@ -218,7 +218,7 @@ export namespace Amtk {
218
218
  */
219
219
  IGNORE_ACCELS_FOR_APP,
220
220
  }
221
- module ActionInfoCentralStore {
221
+ namespace ActionInfoCentralStore {
222
222
  // Constructor properties interface
223
223
 
224
224
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -242,7 +242,7 @@ export namespace Amtk {
242
242
  lookup(action_name: string): ActionInfo;
243
243
  }
244
244
 
245
- module ActionInfoStore {
245
+ namespace ActionInfoStore {
246
246
  // Constructor properties interface
247
247
 
248
248
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -293,7 +293,7 @@ export namespace Amtk {
293
293
  lookup(action_name: string): ActionInfo;
294
294
  }
295
295
 
296
- module ApplicationWindow {
296
+ namespace ApplicationWindow {
297
297
  // Constructor properties interface
298
298
 
299
299
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -394,7 +394,7 @@ export namespace Amtk {
394
394
  set_statusbar(statusbar?: Gtk.Statusbar | null): void;
395
395
  }
396
396
 
397
- module Factory {
397
+ namespace Factory {
398
398
  // Constructor properties interface
399
399
 
400
400
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -460,7 +460,7 @@ export namespace Amtk {
460
460
  * @param flags #AmtkFactoryFlags.
461
461
  * @returns a new #GtkCheckMenuItem for @action_name.
462
462
  */
463
- create_check_menu_item_full(action_name: string, flags: FactoryFlags): Gtk.Widget;
463
+ create_check_menu_item_full(action_name: string, flags: FactoryFlags | null): Gtk.Widget;
464
464
  /**
465
465
  * Creates a new #GtkMenuItem for `action_name` with the
466
466
  * #AmtkFactory:default-flags.
@@ -475,7 +475,7 @@ export namespace Amtk {
475
475
  * @param flags #AmtkFactoryFlags.
476
476
  * @returns a new #GtkMenuItem for @action_name.
477
477
  */
478
- create_menu_item_full(action_name: string, flags: FactoryFlags): Gtk.Widget;
478
+ create_menu_item_full(action_name: string, flags: FactoryFlags | null): Gtk.Widget;
479
479
  /**
480
480
  * Creates a new #GtkMenuToolButton for `action_name` with the
481
481
  * #AmtkFactory:default-flags.
@@ -496,7 +496,7 @@ export namespace Amtk {
496
496
  * @param flags #AmtkFactoryFlags.
497
497
  * @returns a new #GtkMenuToolButton for @action_name.
498
498
  */
499
- create_menu_tool_button_full(action_name: string, flags: FactoryFlags): Gtk.MenuToolButton;
499
+ create_menu_tool_button_full(action_name: string, flags: FactoryFlags | null): Gtk.MenuToolButton;
500
500
  /**
501
501
  * Creates a new #GtkToolButton for `action_name` with the
502
502
  * #AmtkFactory:default-flags.
@@ -511,17 +511,17 @@ export namespace Amtk {
511
511
  * @param flags #AmtkFactoryFlags.
512
512
  * @returns a new #GtkToolButton for @action_name.
513
513
  */
514
- create_tool_button_full(action_name: string, flags: FactoryFlags): Gtk.ToolItem;
514
+ create_tool_button_full(action_name: string, flags: FactoryFlags | null): Gtk.ToolItem;
515
515
  get_application(): Gtk.Application | null;
516
516
  get_default_flags(): FactoryFlags;
517
517
  /**
518
518
  * Sets the #AmtkFactory:default-flags property.
519
519
  * @param default_flags the new value.
520
520
  */
521
- set_default_flags(default_flags: FactoryFlags): void;
521
+ set_default_flags(default_flags: FactoryFlags | null): void;
522
522
  }
523
523
 
524
- module MenuShell {
524
+ namespace MenuShell {
525
525
  // Signal callback interfaces
526
526
 
527
527
  interface MenuItemDeselected {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/amtk-4",
3
- "version": "4.0.0-4.0.0-beta.18",
3
+ "version": "4.0.0-4.0.0-beta.20",
4
4
  "description": "GJS TypeScript type definitions for Amtk-4, generated from library version 4.0.0",
5
5
  "type": "module",
6
6
  "module": "amtk-4.js",
@@ -31,20 +31,20 @@
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/harfbuzz-0.0": "^9.0.0-4.0.0-beta.18",
46
- "@girs/pango-1.0": "^1.54.0-4.0.0-beta.18",
47
- "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.18"
34
+ "@girs/atk-1.0": "^2.54.0-4.0.0-beta.20",
35
+ "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.20",
36
+ "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.20",
37
+ "@girs/gdk-3.0": "^3.24.48-4.0.0-beta.20",
38
+ "@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.20",
39
+ "@girs/gio-2.0": "^2.82.4-4.0.0-beta.20",
40
+ "@girs/gjs": "^4.0.0-beta.20",
41
+ "@girs/glib-2.0": "^2.82.4-4.0.0-beta.20",
42
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.20",
43
+ "@girs/gobject-2.0": "^2.82.4-4.0.0-beta.20",
44
+ "@girs/gtk-3.0": "^3.24.48-4.0.0-beta.20",
45
+ "@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.20",
46
+ "@girs/pango-1.0": "^1.54.0-4.0.0-beta.20",
47
+ "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.20"
48
48
  },
49
49
  "devDependencies": {
50
50
  "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": ["./amtk-4.d.ts"]
21
23
  }