@girs/glib-2.0 2.80.0-4.0.0-beta.4 → 2.80.3-4.0.0-beta.6

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/glib-2.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GLib-2.0, generated from library version 2.80.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.3.
8
+ GJS TypeScript type definitions for GLib-2.0, generated from library version 2.80.3 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.6.
9
9
 
10
10
 
11
11
  ## Install
package/glib-2.0.d.ts CHANGED
@@ -13782,7 +13782,7 @@ export namespace GLib {
13782
13782
  * @param uri a valid URI
13783
13783
  * @returns a timestamp
13784
13784
  */
13785
- get_added(uri: string): number;
13785
+ get_added(uri: string): never;
13786
13786
  /**
13787
13787
  * Gets the time the bookmark for `uri` was added to `bookmark`
13788
13788
  *
@@ -13810,7 +13810,7 @@ export namespace GLib {
13810
13810
  * @param name an application's name
13811
13811
  * @returns %TRUE on success.
13812
13812
  */
13813
- get_app_info(uri: string, name: string): [boolean, string, number, number];
13813
+ get_app_info(uri: string, name: string): [boolean, string, number, never | null];
13814
13814
  /**
13815
13815
  * Gets the registration information of `app_name` for the bookmark for
13816
13816
  * `uri`. See g_bookmark_file_set_application_info() for more information about
@@ -13900,7 +13900,7 @@ export namespace GLib {
13900
13900
  * @param uri a valid URI
13901
13901
  * @returns a timestamp
13902
13902
  */
13903
- get_modified(uri: string): number;
13903
+ get_modified(uri: string): never;
13904
13904
  /**
13905
13905
  * Gets the time when the bookmark for `uri` was last modified.
13906
13906
  *
@@ -13941,7 +13941,7 @@ export namespace GLib {
13941
13941
  * @param uri a valid URI
13942
13942
  * @returns a timestamp.
13943
13943
  */
13944
- get_visited(uri: string): number;
13944
+ get_visited(uri: string): never;
13945
13945
  /**
13946
13946
  * Gets the time the bookmark for `uri` was last visited.
13947
13947
  *
@@ -14057,7 +14057,7 @@ export namespace GLib {
14057
14057
  * @param uri a valid URI
14058
14058
  * @param added a timestamp or -1 to use the current time
14059
14059
  */
14060
- set_added(uri: string, added: number): void;
14060
+ set_added(uri: string, added: never): void;
14061
14061
  /**
14062
14062
  * Sets the time the bookmark for `uri` was added into `bookmark`.
14063
14063
  *
@@ -14102,7 +14102,7 @@ export namespace GLib {
14102
14102
  * @param stamp the time of the last registration for this application
14103
14103
  * @returns %TRUE if the application's meta-data was successfully changed.
14104
14104
  */
14105
- set_app_info(uri: string, name: string, exec: string, count: number, stamp: number): boolean;
14105
+ set_app_info(uri: string, name: string, exec: string, count: number, stamp: never): boolean;
14106
14106
  /**
14107
14107
  * Sets the meta-data of application `name` inside the list of
14108
14108
  * applications that have registered a bookmark for `uri` inside
@@ -14197,7 +14197,7 @@ export namespace GLib {
14197
14197
  * @param uri a valid URI
14198
14198
  * @param modified a timestamp or -1 to use the current time
14199
14199
  */
14200
- set_modified(uri: string, modified: number): void;
14200
+ set_modified(uri: string, modified: never): void;
14201
14201
  /**
14202
14202
  * Sets the last time the bookmark for `uri` was last modified.
14203
14203
  *
@@ -14235,7 +14235,7 @@ export namespace GLib {
14235
14235
  * @param uri a valid URI
14236
14236
  * @param visited a timestamp or -1 to use the current time
14237
14237
  */
14238
- set_visited(uri: string, visited: number): void;
14238
+ set_visited(uri: string, visited: never): void;
14239
14239
  /**
14240
14240
  * Sets the time the bookmark for `uri` was last visited.
14241
14241
  *
@@ -15384,7 +15384,7 @@ export namespace GLib {
15384
15384
  *
15385
15385
  * @param timet time_t value to set
15386
15386
  */
15387
- set_time_t(timet: number): void;
15387
+ set_time_t(timet: never): void;
15388
15388
  /**
15389
15389
  * Sets the value of a date from a #GTimeVal value. Note that the
15390
15390
  * `tv_usec` member is ignored, because #GDate can't make use of the
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@girs/glib-2.0",
3
- "version": "2.80.0-4.0.0-beta.4",
4
- "description": "GJS TypeScript type definitions for GLib-2.0, generated from library version 2.80.0",
3
+ "version": "2.80.3-4.0.0-beta.6",
4
+ "description": "GJS TypeScript type definitions for GLib-2.0, generated from library version 2.80.3",
5
5
  "type": "module",
6
6
  "module": "glib-2.0.js",
7
7
  "main": "glib-2.0.js",
@@ -23,11 +23,11 @@
23
23
  }
24
24
  },
25
25
  "scripts": {
26
- "test": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit glib-2.0.d.ts"
26
+ "test": "tsc --project tsconfig.json"
27
27
  },
28
28
  "dependencies": {
29
- "@girs/gjs": "^4.0.0-beta.4",
30
- "@girs/gobject-2.0": "^2.80.0-4.0.0-beta.4"
29
+ "@girs/gjs": "^4.0.0-beta.6",
30
+ "@girs/gobject-2.0": "^2.80.3-4.0.0-beta.6"
31
31
  },
32
32
  "devDependencies": {
33
33
  "typescript": "*"