@girs/gee-0.8 0.8.0-3.1.0 → 0.8.0-3.2.2

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/gee-0.8.d.ts CHANGED
@@ -57,28 +57,28 @@ function task(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destro
57
57
  function async_task<Z = unknown>(_callback_: Gio.AsyncReadyCallback<Z> | null): void
58
58
  function async_task_finish(_res_: Gio.AsyncResult): void
59
59
  interface HashDataFunc {
60
- (t_type: GObject.GType, t_dup_func: GObject.BoxedCopyFunc, t_destroy_func: GLib.DestroyNotify, v: any | null): number
60
+ (t_type: GObject.GType, t_dup_func: GObject.BoxedCopyFunc, t_destroy_func: GLib.DestroyNotify, v: any): number
61
61
  }
62
62
  interface EqualDataFunc {
63
- (t_type: GObject.GType, t_dup_func: GObject.BoxedCopyFunc, t_destroy_func: GLib.DestroyNotify, a: any | null, b: any | null): boolean
63
+ (t_type: GObject.GType, t_dup_func: GObject.BoxedCopyFunc, t_destroy_func: GLib.DestroyNotify, a: any, b: any): boolean
64
64
  }
65
65
  interface LazyFunc {
66
- (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify): any | null
66
+ (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify): any
67
67
  }
68
68
  interface FoldMapFunc {
69
- (a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, k_type: GObject.GType, k_dup_func: GObject.BoxedCopyFunc, k_destroy_func: GLib.DestroyNotify, v_type: GObject.GType, v_dup_func: GObject.BoxedCopyFunc, v_destroy_func: GLib.DestroyNotify, k: any | null, v: any | null, a: any | null): any | null
69
+ (a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, k_type: GObject.GType, k_dup_func: GObject.BoxedCopyFunc, k_destroy_func: GLib.DestroyNotify, v_type: GObject.GType, v_dup_func: GObject.BoxedCopyFunc, v_destroy_func: GLib.DestroyNotify, k: any, v: any, a: any): any
70
70
  }
71
71
  interface ForallMapFunc {
72
- (k_type: GObject.GType, k_dup_func: GObject.BoxedCopyFunc, k_destroy_func: GLib.DestroyNotify, v_type: GObject.GType, v_dup_func: GObject.BoxedCopyFunc, v_destroy_func: GLib.DestroyNotify, k: any | null, v: any | null): boolean
72
+ (k_type: GObject.GType, k_dup_func: GObject.BoxedCopyFunc, k_destroy_func: GLib.DestroyNotify, v_type: GObject.GType, v_dup_func: GObject.BoxedCopyFunc, v_destroy_func: GLib.DestroyNotify, k: any, v: any): boolean
73
73
  }
74
74
  interface Task {
75
- (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify): any | null
75
+ (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify): any
76
76
  }
77
77
  interface FoldFunc {
78
- (a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, g: any | null, a: any | null): any | null
78
+ (a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, g: any, a: any): any
79
79
  }
80
80
  interface ForallFunc {
81
- (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, g: any | null): boolean
81
+ (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, g: any): boolean
82
82
  }
83
83
  interface UnfoldFunc {
84
84
  (a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify): Lazy | null
@@ -87,13 +87,13 @@ interface StreamFunc {
87
87
  (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, state: TraversableStream, g: Lazy | null): TraversableStream
88
88
  }
89
89
  interface MapFunc {
90
- (a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, g: any | null): any | null
90
+ (a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, g: any): any
91
91
  }
92
92
  interface Predicate {
93
- (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, g: any | null): boolean
93
+ (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, g: any): boolean
94
94
  }
95
95
  interface FlatMapFunc {
96
- (a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, g: any | null): Iterator
96
+ (a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, g: any): Iterator
97
97
  }
98
98
  module BidirIterator {
99
99
 
@@ -234,11 +234,11 @@ interface BidirListIterator extends BidirIterator, ListIterator {
234
234
 
235
235
  // Owm methods of Gee-0.8.Gee.BidirListIterator
236
236
 
237
- insert(item: any | null): void
237
+ insert(item: any): void
238
238
 
239
239
  // Own virtual methods of Gee-0.8.Gee.BidirListIterator
240
240
 
241
- vfunc_insert(item: any | null): void
241
+ vfunc_insert(item: any): void
242
242
 
243
243
  // Class property signals of Gee-0.8.Gee.BidirListIterator
244
244
 
@@ -500,9 +500,9 @@ interface Collection extends Iterable {
500
500
 
501
501
  // Owm methods of Gee-0.8.Gee.Collection
502
502
 
503
- contains(item: any | null): boolean
504
- add(item: any | null): boolean
505
- remove(item: any | null): boolean
503
+ contains(item: any): boolean
504
+ add(item: any): boolean
505
+ remove(item: any): boolean
506
506
  clear(): void
507
507
  add_all(collection: Collection): boolean
508
508
  contains_all(collection: Collection): boolean
@@ -522,9 +522,9 @@ interface Collection extends Iterable {
522
522
 
523
523
  // Own virtual methods of Gee-0.8.Gee.Collection
524
524
 
525
- vfunc_contains(item: any | null): boolean
526
- vfunc_add(item: any | null): boolean
527
- vfunc_remove(item: any | null): boolean
525
+ vfunc_contains(item: any): boolean
526
+ vfunc_add(item: any): boolean
527
+ vfunc_remove(item: any): boolean
528
528
  vfunc_clear(): void
529
529
  vfunc_add_all(collection: Collection): boolean
530
530
  vfunc_contains_all(collection: Collection): boolean
@@ -586,11 +586,11 @@ interface Comparable extends GObject.Object {
586
586
 
587
587
  // Owm methods of Gee-0.8.Gee.Comparable
588
588
 
589
- compare_to(object: any | null): number
589
+ compare_to(object: any): number
590
590
 
591
591
  // Own virtual methods of Gee-0.8.Gee.Comparable
592
592
 
593
- vfunc_compare_to(object: any | null): number
593
+ vfunc_compare_to(object: any): number
594
594
 
595
595
  // Class property signals of Gee-0.8.Gee.Comparable
596
596
 
@@ -626,22 +626,22 @@ interface Deque extends Queue {
626
626
 
627
627
  // Owm methods of Gee-0.8.Gee.Deque
628
628
 
629
- offer_head(element: any | null): boolean
629
+ offer_head(element: any): boolean
630
630
  peek_head(): any | null
631
631
  poll_head(): any | null
632
632
  drain_head(recipient: Collection, amount: number): number
633
- offer_tail(element: any | null): boolean
633
+ offer_tail(element: any): boolean
634
634
  peek_tail(): any | null
635
635
  poll_tail(): any | null
636
636
  drain_tail(recipient: Collection, amount: number): number
637
637
 
638
638
  // Own virtual methods of Gee-0.8.Gee.Deque
639
639
 
640
- vfunc_offer_head(element: any | null): boolean
640
+ vfunc_offer_head(element: any): boolean
641
641
  vfunc_peek_head(): any | null
642
642
  vfunc_poll_head(): any | null
643
643
  vfunc_drain_head(recipient: Collection, amount: number): number
644
- vfunc_offer_tail(element: any | null): boolean
644
+ vfunc_offer_tail(element: any): boolean
645
645
  vfunc_peek_tail(): any | null
646
646
  vfunc_poll_tail(): any | null
647
647
  vfunc_drain_tail(recipient: Collection, amount: number): number
@@ -703,7 +703,7 @@ interface Future extends GObject.Object {
703
703
 
704
704
  // Owm methods of Gee-0.8.Gee.Future
705
705
 
706
- wait(): any | null
706
+ wait(): any
707
707
  wait_until(end_time: number): [ /* returnType */ boolean, /* value */ any ]
708
708
  wait_async(_callback_: Gio.AsyncReadyCallback<this> | null): void
709
709
 
@@ -716,8 +716,8 @@ interface Future extends GObject.Object {
716
716
  * @param _callback_
717
717
  * @returns A Promise of the result of {@link wait_async}
718
718
  */
719
- wait_async(): globalThis.Promise<any | null>
720
- wait_finish(_res_: Gio.AsyncResult): any | null
719
+ wait_async(): globalThis.Promise<any>
720
+ wait_finish(_res_: Gio.AsyncResult): any
721
721
  map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any): Future
722
722
  light_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any): Future
723
723
  light_map_broken(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any): Future
@@ -729,10 +729,10 @@ interface Future extends GObject.Object {
729
729
 
730
730
  // Own virtual methods of Gee-0.8.Gee.Future
731
731
 
732
- vfunc_wait(): any | null
732
+ vfunc_wait(): any
733
733
  vfunc_wait_until(end_time: number): [ /* returnType */ boolean, /* value */ any ]
734
734
  vfunc_wait_async(_callback_: Gio.AsyncReadyCallback<this> | null): void
735
- vfunc_wait_finish(_res_: Gio.AsyncResult): any | null
735
+ vfunc_wait_finish(_res_: Gio.AsyncResult): any
736
736
  vfunc_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any): Future
737
737
  vfunc_light_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any): Future
738
738
  vfunc_light_map_broken(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any): Future
@@ -783,12 +783,12 @@ interface Hashable extends GObject.Object {
783
783
  // Owm methods of Gee-0.8.Gee.Hashable
784
784
 
785
785
  hash(): number
786
- equal_to(object: any | null): boolean
786
+ equal_to(object: any): boolean
787
787
 
788
788
  // Own virtual methods of Gee-0.8.Gee.Hashable
789
789
 
790
790
  vfunc_hash(): number
791
- vfunc_equal_to(object: any | null): boolean
791
+ vfunc_equal_to(object: any): boolean
792
792
 
793
793
  // Class property signals of Gee-0.8.Gee.Hashable
794
794
 
@@ -871,7 +871,7 @@ interface Iterator extends GObject.Object, Traversable {
871
871
 
872
872
  next(): boolean
873
873
  has_next(): boolean
874
- get(): any | null
874
+ get(): any
875
875
  remove(): void
876
876
  get_valid(): boolean
877
877
  get_read_only(): boolean
@@ -880,7 +880,7 @@ interface Iterator extends GObject.Object, Traversable {
880
880
 
881
881
  vfunc_next(): boolean
882
882
  vfunc_has_next(): boolean
883
- vfunc_get(): any | null
883
+ vfunc_get(): any
884
884
  vfunc_remove(): void
885
885
  vfunc_get_valid(): boolean
886
886
  vfunc_get_read_only(): boolean
@@ -932,14 +932,14 @@ interface List extends Collection {
932
932
  // Owm methods of Gee-0.8.Gee.List
933
933
 
934
934
  list_iterator(): ListIterator
935
- get(index: number): any | null
936
- set(index: number, item: any | null): void
937
- index_of(item: any | null): number
938
- insert(index: number, item: any | null): void
939
- remove_at(index: number): any | null
935
+ get(index: number): any
936
+ set(index: number, item: any): void
937
+ index_of(item: any): number
938
+ insert(index: number, item: any): void
939
+ remove_at(index: number): any
940
940
  slice(start: number, stop: number): List | null
941
- first(): any | null
942
- last(): any | null
941
+ first(): any
942
+ last(): any
943
943
  insert_all(index: number, collection: Collection): void
944
944
  sort(compare_func: GLib.CompareDataFunc | null): void
945
945
  get_read_only_view(): List
@@ -951,14 +951,14 @@ interface List extends Collection {
951
951
  // Own virtual methods of Gee-0.8.Gee.List
952
952
 
953
953
  vfunc_list_iterator(): ListIterator
954
- vfunc_get(index: number): any | null
955
- vfunc_set(index: number, item: any | null): void
956
- vfunc_index_of(item: any | null): number
957
- vfunc_insert(index: number, item: any | null): void
958
- vfunc_remove_at(index: number): any | null
954
+ vfunc_get(index: number): any
955
+ vfunc_set(index: number, item: any): void
956
+ vfunc_index_of(item: any): number
957
+ vfunc_insert(index: number, item: any): void
958
+ vfunc_remove_at(index: number): any
959
959
  vfunc_slice(start: number, stop: number): List | null
960
- vfunc_first(): any | null
961
- vfunc_last(): any | null
960
+ vfunc_first(): any
961
+ vfunc_last(): any
962
962
  vfunc_insert_all(index: number, collection: Collection): void
963
963
  vfunc_sort(compare_func: GLib.CompareDataFunc | null): void
964
964
  vfunc_get_read_only_view(): List
@@ -1015,14 +1015,14 @@ interface ListIterator extends Iterator {
1015
1015
 
1016
1016
  // Owm methods of Gee-0.8.Gee.ListIterator
1017
1017
 
1018
- set(item: any | null): void
1019
- add(item: any | null): void
1018
+ set(item: any): void
1019
+ add(item: any): void
1020
1020
  index(): number
1021
1021
 
1022
1022
  // Own virtual methods of Gee-0.8.Gee.ListIterator
1023
1023
 
1024
- vfunc_set(item: any | null): void
1025
- vfunc_add(item: any | null): void
1024
+ vfunc_set(item: any): void
1025
+ vfunc_add(item: any): void
1026
1026
  vfunc_index(): number
1027
1027
 
1028
1028
  // Class property signals of Gee-0.8.Gee.ListIterator
@@ -1074,13 +1074,13 @@ interface Map extends GObject.Object, Iterable {
1074
1074
 
1075
1075
  // Owm methods of Gee-0.8.Gee.Map
1076
1076
 
1077
- has_key(key: any | null): boolean
1078
- contains(key: any | null): boolean
1079
- has(key: any | null, value: any | null): boolean
1080
- get(key: any | null): any | null
1081
- set(key: any | null, value: any | null): void
1082
- unset(key: any | null): [ /* returnType */ boolean, /* value */ any ]
1083
- remove(key: any | null): [ /* returnType */ boolean, /* value */ any ]
1077
+ has_key(key: any): boolean
1078
+ contains(key: any): boolean
1079
+ has(key: any, value: any): boolean
1080
+ get(key: any): any | null
1081
+ set(key: any, value: any): void
1082
+ unset(key: any): [ /* returnType */ boolean, /* value */ any ]
1083
+ remove(key: any): [ /* returnType */ boolean, /* value */ any ]
1084
1084
  clear(): void
1085
1085
  map_iterator(): MapIterator
1086
1086
  set_all(map: Map): void
@@ -1100,11 +1100,11 @@ interface Map extends GObject.Object, Iterable {
1100
1100
 
1101
1101
  // Own virtual methods of Gee-0.8.Gee.Map
1102
1102
 
1103
- vfunc_has_key(key: any | null): boolean
1104
- vfunc_has(key: any | null, value: any | null): boolean
1105
- vfunc_get(key: any | null): any | null
1106
- vfunc_set(key: any | null, value: any | null): void
1107
- vfunc_unset(key: any | null): [ /* returnType */ boolean, /* value */ any ]
1103
+ vfunc_has_key(key: any): boolean
1104
+ vfunc_has(key: any, value: any): boolean
1105
+ vfunc_get(key: any): any | null
1106
+ vfunc_set(key: any, value: any): void
1107
+ vfunc_unset(key: any): [ /* returnType */ boolean, /* value */ any ]
1108
1108
  vfunc_clear(): void
1109
1109
  vfunc_map_iterator(): MapIterator
1110
1110
  vfunc_set_all(map: Map): void
@@ -1179,11 +1179,11 @@ interface MapIterator extends GObject.Object {
1179
1179
 
1180
1180
  next(): boolean
1181
1181
  has_next(): boolean
1182
- get_key(): any | null
1183
- get_value(): any | null
1184
- set_value(value: any | null): void
1182
+ get_key(): any
1183
+ get_value(): any
1184
+ set_value(value: any): void
1185
1185
  unset(): void
1186
- fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldMapFunc, seed: any | null): any | null
1186
+ fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldMapFunc, seed: any): any
1187
1187
  foreach(f: ForallMapFunc): boolean
1188
1188
  get_valid(): boolean
1189
1189
  get_mutable(): boolean
@@ -1193,11 +1193,11 @@ interface MapIterator extends GObject.Object {
1193
1193
 
1194
1194
  vfunc_next(): boolean
1195
1195
  vfunc_has_next(): boolean
1196
- vfunc_get_key(): any | null
1197
- vfunc_get_value(): any | null
1198
- vfunc_set_value(value: any | null): void
1196
+ vfunc_get_key(): any
1197
+ vfunc_get_value(): any
1198
+ vfunc_set_value(value: any): void
1199
1199
  vfunc_unset(): void
1200
- vfunc_fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldMapFunc, seed: any | null): any | null
1200
+ vfunc_fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldMapFunc, seed: any): any
1201
1201
  vfunc_foreach(f: ForallMapFunc): boolean
1202
1202
  vfunc_get_valid(): boolean
1203
1203
  vfunc_get_mutable(): boolean
@@ -1254,11 +1254,11 @@ interface MultiMap extends GObject.Object {
1254
1254
  get_keys(): Set
1255
1255
  get_all_keys(): MultiSet
1256
1256
  get_values(): Collection
1257
- contains(key: any | null): boolean
1258
- get(key: any | null): Collection
1259
- set(key: any | null, value: any | null): void
1260
- remove(key: any | null, value: any | null): boolean
1261
- remove_all(key: any | null): boolean
1257
+ contains(key: any): boolean
1258
+ get(key: any): Collection
1259
+ set(key: any, value: any): void
1260
+ remove(key: any, value: any): boolean
1261
+ remove_all(key: any): boolean
1262
1262
  clear(): void
1263
1263
  map_iterator(): MapIterator
1264
1264
  get_size(): number
@@ -1272,11 +1272,11 @@ interface MultiMap extends GObject.Object {
1272
1272
  vfunc_get_keys(): Set
1273
1273
  vfunc_get_all_keys(): MultiSet
1274
1274
  vfunc_get_values(): Collection
1275
- vfunc_contains(key: any | null): boolean
1276
- vfunc_get(key: any | null): Collection
1277
- vfunc_set(key: any | null, value: any | null): void
1278
- vfunc_remove(key: any | null, value: any | null): boolean
1279
- vfunc_remove_all(key: any | null): boolean
1275
+ vfunc_contains(key: any): boolean
1276
+ vfunc_get(key: any): Collection
1277
+ vfunc_set(key: any, value: any): void
1278
+ vfunc_remove(key: any, value: any): boolean
1279
+ vfunc_remove_all(key: any): boolean
1280
1280
  vfunc_clear(): void
1281
1281
  vfunc_map_iterator(): MapIterator
1282
1282
  vfunc_get_size(): number
@@ -1323,7 +1323,7 @@ interface MultiSet extends Collection {
1323
1323
 
1324
1324
  // Owm methods of Gee-0.8.Gee.MultiSet
1325
1325
 
1326
- count(item: any | null): number
1326
+ count(item: any): number
1327
1327
  get_read_only_view(): MultiSet
1328
1328
 
1329
1329
  // Overloads of get_read_only_view
@@ -1332,7 +1332,7 @@ interface MultiSet extends Collection {
1332
1332
 
1333
1333
  // Own virtual methods of Gee-0.8.Gee.MultiSet
1334
1334
 
1335
- vfunc_count(item: any | null): number
1335
+ vfunc_count(item: any): number
1336
1336
  vfunc_get_read_only_view(): MultiSet
1337
1337
 
1338
1338
  // Overloads of vfunc_get_read_only_view
@@ -1393,7 +1393,7 @@ interface Queue extends Collection {
1393
1393
 
1394
1394
  // Owm methods of Gee-0.8.Gee.Queue
1395
1395
 
1396
- offer(element: any | null): boolean
1396
+ offer(element: any): boolean
1397
1397
  peek(): any | null
1398
1398
  poll(): any | null
1399
1399
  drain(recipient: Collection, amount: number): number
@@ -1403,7 +1403,7 @@ interface Queue extends Collection {
1403
1403
 
1404
1404
  // Own virtual methods of Gee-0.8.Gee.Queue
1405
1405
 
1406
- vfunc_offer(element: any | null): boolean
1406
+ vfunc_offer(element: any): boolean
1407
1407
  vfunc_peek(): any | null
1408
1408
  vfunc_poll(): any | null
1409
1409
  vfunc_drain(recipient: Collection, amount: number): number
@@ -1535,9 +1535,9 @@ interface SortedMap extends Map {
1535
1535
 
1536
1536
  // Owm methods of Gee-0.8.Gee.SortedMap
1537
1537
 
1538
- head_map(before: any | null): SortedMap
1539
- tail_map(after: any | null): SortedMap
1540
- sub_map(before: any | null, after: any | null): SortedMap
1538
+ head_map(before: any): SortedMap
1539
+ tail_map(after: any): SortedMap
1540
+ sub_map(before: any, after: any): SortedMap
1541
1541
  get_ascending_keys(): SortedSet
1542
1542
  get_ascending_entries(): SortedSet
1543
1543
  get_read_only_view(): SortedMap
@@ -1548,9 +1548,9 @@ interface SortedMap extends Map {
1548
1548
 
1549
1549
  // Own virtual methods of Gee-0.8.Gee.SortedMap
1550
1550
 
1551
- vfunc_head_map(before: any | null): SortedMap
1552
- vfunc_tail_map(after: any | null): SortedMap
1553
- vfunc_sub_map(before: any | null, after: any | null): SortedMap
1551
+ vfunc_head_map(before: any): SortedMap
1552
+ vfunc_tail_map(after: any): SortedMap
1553
+ vfunc_sub_map(before: any, after: any): SortedMap
1554
1554
  vfunc_get_ascending_keys(): SortedSet
1555
1555
  vfunc_get_ascending_entries(): SortedSet
1556
1556
  vfunc_get_read_only_view(): SortedMap
@@ -1622,16 +1622,16 @@ interface SortedSet extends Set {
1622
1622
 
1623
1623
  // Owm methods of Gee-0.8.Gee.SortedSet
1624
1624
 
1625
- first(): any | null
1626
- last(): any | null
1627
- iterator_at(element: any | null): Iterator | null
1628
- lower(element: any | null): any | null
1629
- higher(element: any | null): any | null
1630
- floor(element: any | null): any | null
1631
- ceil(element: any | null): any | null
1632
- head_set(before: any | null): SortedSet
1633
- tail_set(after: any | null): SortedSet
1634
- sub_set(from: any | null, to: any | null): SortedSet
1625
+ first(): any
1626
+ last(): any
1627
+ iterator_at(element: any): Iterator | null
1628
+ lower(element: any): any | null
1629
+ higher(element: any): any | null
1630
+ floor(element: any): any | null
1631
+ ceil(element: any): any | null
1632
+ head_set(before: any): SortedSet
1633
+ tail_set(after: any): SortedSet
1634
+ sub_set(from: any, to: any): SortedSet
1635
1635
  get_read_only_view(): SortedSet
1636
1636
 
1637
1637
  // Overloads of get_read_only_view
@@ -1641,16 +1641,16 @@ interface SortedSet extends Set {
1641
1641
 
1642
1642
  // Own virtual methods of Gee-0.8.Gee.SortedSet
1643
1643
 
1644
- vfunc_first(): any | null
1645
- vfunc_last(): any | null
1646
- vfunc_iterator_at(element: any | null): Iterator | null
1647
- vfunc_lower(element: any | null): any | null
1648
- vfunc_higher(element: any | null): any | null
1649
- vfunc_floor(element: any | null): any | null
1650
- vfunc_ceil(element: any | null): any | null
1651
- vfunc_head_set(before: any | null): SortedSet
1652
- vfunc_tail_set(after: any | null): SortedSet
1653
- vfunc_sub_set(from: any | null, to: any | null): SortedSet
1644
+ vfunc_first(): any
1645
+ vfunc_last(): any
1646
+ vfunc_iterator_at(element: any): Iterator | null
1647
+ vfunc_lower(element: any): any | null
1648
+ vfunc_higher(element: any): any | null
1649
+ vfunc_floor(element: any): any | null
1650
+ vfunc_ceil(element: any): any | null
1651
+ vfunc_head_set(before: any): SortedSet
1652
+ vfunc_tail_set(after: any): SortedSet
1653
+ vfunc_sub_set(from: any, to: any): SortedSet
1654
1654
  vfunc_get_read_only_view(): SortedSet
1655
1655
 
1656
1656
  // Overloads of vfunc_get_read_only_view
@@ -1709,9 +1709,9 @@ interface Traversable extends GObject.Object {
1709
1709
 
1710
1710
  foreach(f: ForallFunc): boolean
1711
1711
  stream(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: StreamFunc): Iterator
1712
- fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldFunc, seed: any | null): any | null
1712
+ fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldFunc, seed: any): any
1713
1713
  map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: MapFunc): Iterator
1714
- scan(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldFunc, seed: any | null): Iterator
1714
+ scan(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldFunc, seed: any): Iterator
1715
1715
  filter(pred: Predicate): Iterator
1716
1716
  chop(offset: number, length: number): Iterator
1717
1717
  flat_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FlatMapFunc): Iterator
@@ -1719,8 +1719,8 @@ interface Traversable extends GObject.Object {
1719
1719
  first_match(pred: Predicate): any | null
1720
1720
  any_match(pred: Predicate): boolean
1721
1721
  all_match(pred: Predicate): boolean
1722
- max(compare: GLib.CompareDataFunc): any | null
1723
- min(compare: GLib.CompareDataFunc): any | null
1722
+ max(compare: GLib.CompareDataFunc): any
1723
+ min(compare: GLib.CompareDataFunc): any
1724
1724
  order_by(compare: GLib.CompareDataFunc | null): Iterator
1725
1725
  get_element_type(): GObject.GType
1726
1726
 
@@ -1728,9 +1728,9 @@ interface Traversable extends GObject.Object {
1728
1728
 
1729
1729
  vfunc_foreach(f: ForallFunc): boolean
1730
1730
  vfunc_stream(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: StreamFunc): Iterator
1731
- vfunc_fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldFunc, seed: any | null): any | null
1731
+ vfunc_fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldFunc, seed: any): any
1732
1732
  vfunc_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: MapFunc): Iterator
1733
- vfunc_scan(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldFunc, seed: any | null): Iterator
1733
+ vfunc_scan(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldFunc, seed: any): Iterator
1734
1734
  vfunc_filter(pred: Predicate): Iterator
1735
1735
  vfunc_chop(offset: number, length: number): Iterator
1736
1736
  vfunc_flat_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FlatMapFunc): Iterator
@@ -1738,8 +1738,8 @@ interface Traversable extends GObject.Object {
1738
1738
  vfunc_first_match(pred: Predicate): any | null
1739
1739
  vfunc_any_match(pred: Predicate): boolean
1740
1740
  vfunc_all_match(pred: Predicate): boolean
1741
- vfunc_max(compare: GLib.CompareDataFunc): any | null
1742
- vfunc_min(compare: GLib.CompareDataFunc): any | null
1741
+ vfunc_max(compare: GLib.CompareDataFunc): any
1742
+ vfunc_min(compare: GLib.CompareDataFunc): any
1743
1743
  vfunc_order_by(compare: GLib.CompareDataFunc | null): Iterator
1744
1744
  vfunc_get_element_type(): GObject.GType
1745
1745
 
@@ -2180,9 +2180,9 @@ interface AbstractCollection extends Traversable, Iterable, Collection {
2180
2180
 
2181
2181
  // Owm methods of Gee-0.8.Gee.AbstractCollection
2182
2182
 
2183
- contains(item: any | null): boolean
2184
- add(item: any | null): boolean
2185
- remove(item: any | null): boolean
2183
+ contains(item: any): boolean
2184
+ add(item: any): boolean
2185
+ remove(item: any): boolean
2186
2186
  clear(): void
2187
2187
  iterator(): Iterator
2188
2188
  foreach(f: ForallFunc): boolean
@@ -2202,9 +2202,9 @@ interface AbstractCollection extends Traversable, Iterable, Collection {
2202
2202
 
2203
2203
  // Own virtual methods of Gee-0.8.Gee.AbstractCollection
2204
2204
 
2205
- vfunc_contains(item: any | null): boolean
2206
- vfunc_add(item: any | null): boolean
2207
- vfunc_remove(item: any | null): boolean
2205
+ vfunc_contains(item: any): boolean
2206
+ vfunc_add(item: any): boolean
2207
+ vfunc_remove(item: any): boolean
2208
2208
  vfunc_clear(): void
2209
2209
  vfunc_iterator(): Iterator
2210
2210
  vfunc_foreach(f: ForallFunc): boolean
@@ -2288,11 +2288,11 @@ interface AbstractList extends List {
2288
2288
  // Owm methods of Gee-0.8.Gee.AbstractList
2289
2289
 
2290
2290
  list_iterator(): ListIterator
2291
- get(index: number): any | null
2292
- set(index: number, item: any | null): void
2293
- index_of(item: any | null): number
2294
- insert(index: number, item: any | null): void
2295
- remove_at(index: number): any | null
2291
+ get(index: number): any
2292
+ set(index: number, item: any): void
2293
+ index_of(item: any): number
2294
+ insert(index: number, item: any): void
2295
+ remove_at(index: number): any
2296
2296
  slice(start: number, stop: number): List | null
2297
2297
  reserved0(): void
2298
2298
  reserved1(): void
@@ -2314,11 +2314,11 @@ interface AbstractList extends List {
2314
2314
  // Own virtual methods of Gee-0.8.Gee.AbstractList
2315
2315
 
2316
2316
  vfunc_list_iterator(): ListIterator
2317
- vfunc_get(index: number): any | null
2318
- vfunc_set(index: number, item: any | null): void
2319
- vfunc_index_of(item: any | null): number
2320
- vfunc_insert(index: number, item: any | null): void
2321
- vfunc_remove_at(index: number): any | null
2317
+ vfunc_get(index: number): any
2318
+ vfunc_set(index: number, item: any): void
2319
+ vfunc_index_of(item: any): number
2320
+ vfunc_insert(index: number, item: any): void
2321
+ vfunc_remove_at(index: number): any
2322
2322
  vfunc_slice(start: number, stop: number): List | null
2323
2323
  vfunc_reserved0(): void
2324
2324
  vfunc_reserved1(): void
@@ -2422,11 +2422,11 @@ interface AbstractMap extends Traversable, Iterable, Map {
2422
2422
 
2423
2423
  // Owm methods of Gee-0.8.Gee.AbstractMap
2424
2424
 
2425
- has_key(key: any | null): boolean
2426
- has(key: any | null, value: any | null): boolean
2427
- get(key: any | null): any | null
2428
- set(key: any | null, value: any | null): void
2429
- unset(key: any | null): [ /* returnType */ boolean, /* value */ any ]
2425
+ has_key(key: any): boolean
2426
+ has(key: any, value: any): boolean
2427
+ get(key: any): any | null
2428
+ set(key: any, value: any): void
2429
+ unset(key: any): [ /* returnType */ boolean, /* value */ any ]
2430
2430
  map_iterator(): MapIterator
2431
2431
  clear(): void
2432
2432
  foreach(f: ForallFunc): boolean
@@ -2450,11 +2450,11 @@ interface AbstractMap extends Traversable, Iterable, Map {
2450
2450
 
2451
2451
  // Own virtual methods of Gee-0.8.Gee.AbstractMap
2452
2452
 
2453
- vfunc_has_key(key: any | null): boolean
2454
- vfunc_has(key: any | null, value: any | null): boolean
2455
- vfunc_get(key: any | null): any | null
2456
- vfunc_set(key: any | null, value: any | null): void
2457
- vfunc_unset(key: any | null): [ /* returnType */ boolean, /* value */ any ]
2453
+ vfunc_has_key(key: any): boolean
2454
+ vfunc_has(key: any, value: any): boolean
2455
+ vfunc_get(key: any): any | null
2456
+ vfunc_set(key: any, value: any): void
2457
+ vfunc_unset(key: any): [ /* returnType */ boolean, /* value */ any ]
2458
2458
  vfunc_map_iterator(): MapIterator
2459
2459
  vfunc_clear(): void
2460
2460
  vfunc_foreach(f: ForallFunc): boolean
@@ -3011,9 +3011,9 @@ interface AbstractSortedMap extends SortedMap {
3011
3011
 
3012
3012
  // Owm methods of Gee-0.8.Gee.AbstractSortedMap
3013
3013
 
3014
- head_map(before: any | null): SortedMap
3015
- tail_map(after: any | null): SortedMap
3016
- sub_map(before: any | null, after: any | null): SortedMap
3014
+ head_map(before: any): SortedMap
3015
+ tail_map(after: any): SortedMap
3016
+ sub_map(before: any, after: any): SortedMap
3017
3017
  reserved0(): void
3018
3018
  reserved1(): void
3019
3019
  reserved2(): void
@@ -3046,9 +3046,9 @@ interface AbstractSortedMap extends SortedMap {
3046
3046
 
3047
3047
  // Own virtual methods of Gee-0.8.Gee.AbstractSortedMap
3048
3048
 
3049
- vfunc_head_map(before: any | null): SortedMap
3050
- vfunc_tail_map(after: any | null): SortedMap
3051
- vfunc_sub_map(before: any | null, after: any | null): SortedMap
3049
+ vfunc_head_map(before: any): SortedMap
3050
+ vfunc_tail_map(after: any): SortedMap
3051
+ vfunc_sub_map(before: any, after: any): SortedMap
3052
3052
  vfunc_reserved0(): void
3053
3053
  vfunc_reserved1(): void
3054
3054
  vfunc_reserved2(): void
@@ -3151,16 +3151,16 @@ interface AbstractSortedSet extends SortedSet {
3151
3151
 
3152
3152
  // Owm methods of Gee-0.8.Gee.AbstractSortedSet
3153
3153
 
3154
- first(): any | null
3155
- last(): any | null
3156
- iterator_at(element: any | null): Iterator | null
3157
- lower(element: any | null): any | null
3158
- higher(element: any | null): any | null
3159
- floor(element: any | null): any | null
3160
- ceil(element: any | null): any | null
3161
- head_set(before: any | null): SortedSet
3162
- tail_set(after: any | null): SortedSet
3163
- sub_set(from: any | null, to: any | null): SortedSet
3154
+ first(): any
3155
+ last(): any
3156
+ iterator_at(element: any): Iterator | null
3157
+ lower(element: any): any | null
3158
+ higher(element: any): any | null
3159
+ floor(element: any): any | null
3160
+ ceil(element: any): any | null
3161
+ head_set(before: any): SortedSet
3162
+ tail_set(after: any): SortedSet
3163
+ sub_set(from: any, to: any): SortedSet
3164
3164
  reserved0(): void
3165
3165
  reserved1(): void
3166
3166
  reserved2(): void
@@ -3181,16 +3181,16 @@ interface AbstractSortedSet extends SortedSet {
3181
3181
 
3182
3182
  // Own virtual methods of Gee-0.8.Gee.AbstractSortedSet
3183
3183
 
3184
- vfunc_first(): any | null
3185
- vfunc_last(): any | null
3186
- vfunc_iterator_at(element: any | null): Iterator | null
3187
- vfunc_lower(element: any | null): any | null
3188
- vfunc_higher(element: any | null): any | null
3189
- vfunc_floor(element: any | null): any | null
3190
- vfunc_ceil(element: any | null): any | null
3191
- vfunc_head_set(before: any | null): SortedSet
3192
- vfunc_tail_set(after: any | null): SortedSet
3193
- vfunc_sub_set(from: any | null, to: any | null): SortedSet
3184
+ vfunc_first(): any
3185
+ vfunc_last(): any
3186
+ vfunc_iterator_at(element: any): Iterator | null
3187
+ vfunc_lower(element: any): any | null
3188
+ vfunc_higher(element: any): any | null
3189
+ vfunc_floor(element: any): any | null
3190
+ vfunc_ceil(element: any): any | null
3191
+ vfunc_head_set(before: any): SortedSet
3192
+ vfunc_tail_set(after: any): SortedSet
3193
+ vfunc_sub_set(from: any, to: any): SortedSet
3194
3194
  vfunc_reserved0(): void
3195
3195
  vfunc_reserved1(): void
3196
3196
  vfunc_reserved2(): void
@@ -4145,8 +4145,8 @@ interface Lazy {
4145
4145
  // Owm methods of Gee-0.8.Gee.Lazy
4146
4146
 
4147
4147
  eval(): void
4148
- get(): any | null
4149
- get_value(): any | null
4148
+ get(): any
4149
+ get_value(): any
4150
4150
  get_future(): Future | null
4151
4151
  }
4152
4152
 
@@ -4160,7 +4160,7 @@ class Lazy {
4160
4160
 
4161
4161
  constructor(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, func: LazyFunc)
4162
4162
  static new(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, func: LazyFunc): Lazy
4163
- static from_value(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, item: any | null): Lazy
4163
+ static from_value(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, item: any): Lazy
4164
4164
  }
4165
4165
 
4166
4166
  module LinkedList {
@@ -4192,8 +4192,8 @@ interface LinkedList extends Queue, Deque {
4192
4192
 
4193
4193
  // Owm methods of Gee-0.8.Gee.LinkedList
4194
4194
 
4195
- first(): any | null
4196
- last(): any | null
4195
+ first(): any
4196
+ last(): any
4197
4197
  get_equal_func(): [ /* returnType */ EqualDataFunc, /* result_target */ any ]
4198
4198
 
4199
4199
  // Conflicting methods
@@ -4335,7 +4335,7 @@ interface PriorityQueue {
4335
4335
 
4336
4336
  // Owm methods of Gee-0.8.Gee.PriorityQueue
4337
4337
 
4338
- offer(element: any | null): boolean
4338
+ offer(element: any): boolean
4339
4339
  drain(recipient: Collection, amount: number): number
4340
4340
  get_compare_func(): [ /* returnType */ GLib.CompareDataFunc, /* result_target */ any ]
4341
4341
 
@@ -4397,7 +4397,7 @@ interface Promise {
4397
4397
 
4398
4398
  // Owm methods of Gee-0.8.Gee.Promise
4399
4399
 
4400
- set_value(value: any | null): void
4400
+ set_value(value: any): void
4401
4401
  set_exception(exception: GLib.Error): void
4402
4402
  get_future(): Future
4403
4403
  }
@@ -5110,16 +5110,16 @@ interface MapEntry {
5110
5110
 
5111
5111
  // Owm methods of Gee-0.8.Gee.MapEntry
5112
5112
 
5113
- get_key(): any | null
5114
- get_value(): any | null
5115
- set_value(value: any | null): void
5113
+ get_key(): any
5114
+ get_value(): any
5115
+ set_value(value: any): void
5116
5116
  get_read_only(): boolean
5117
5117
 
5118
5118
  // Own virtual methods of Gee-0.8.Gee.MapEntry
5119
5119
 
5120
- vfunc_get_key(): any | null
5121
- vfunc_get_value(): any | null
5122
- vfunc_set_value(value: any | null): void
5120
+ vfunc_get_key(): any
5121
+ vfunc_get_value(): any
5122
+ vfunc_set_value(value: any): void
5123
5123
  vfunc_get_read_only(): boolean
5124
5124
 
5125
5125
  // Class property signals of Gee-0.8.Gee.MapEntry
@@ -5276,9 +5276,9 @@ interface AbstractCollectionClass {
5276
5276
 
5277
5277
  // Own fields of Gee-0.8.Gee.AbstractCollectionClass
5278
5278
 
5279
- contains: (self: AbstractCollection, item: any | null) => boolean
5280
- add: (self: AbstractCollection, item: any | null) => boolean
5281
- remove: (self: AbstractCollection, item: any | null) => boolean
5279
+ contains: (self: AbstractCollection, item: any) => boolean
5280
+ add: (self: AbstractCollection, item: any) => boolean
5281
+ remove: (self: AbstractCollection, item: any) => boolean
5282
5282
  clear: (self: AbstractCollection) => void
5283
5283
  iterator: (self: AbstractCollection) => Iterator
5284
5284
  foreach: (self: AbstractCollection, f: ForallFunc) => boolean
@@ -5316,11 +5316,11 @@ interface AbstractListClass {
5316
5316
  // Own fields of Gee-0.8.Gee.AbstractListClass
5317
5317
 
5318
5318
  list_iterator: (self: AbstractList) => ListIterator
5319
- get: (self: AbstractList, index: number) => any | null
5320
- set: (self: AbstractList, index: number, item: any | null) => void
5321
- index_of: (self: AbstractList, item: any | null) => number
5322
- insert: (self: AbstractList, index: number, item: any | null) => void
5323
- remove_at: (self: AbstractList, index: number) => any | null
5319
+ get: (self: AbstractList, index: number) => any
5320
+ set: (self: AbstractList, index: number, item: any) => void
5321
+ index_of: (self: AbstractList, item: any) => number
5322
+ insert: (self: AbstractList, index: number, item: any) => void
5323
+ remove_at: (self: AbstractList, index: number) => any
5324
5324
  slice: (self: AbstractList, start: number, stop: number) => List | null
5325
5325
  reserved0: (self: AbstractList) => void
5326
5326
  reserved1: (self: AbstractList) => void
@@ -5355,11 +5355,11 @@ interface AbstractMapClass {
5355
5355
 
5356
5356
  // Own fields of Gee-0.8.Gee.AbstractMapClass
5357
5357
 
5358
- has_key: (self: AbstractMap, key: any | null) => boolean
5359
- has: (self: AbstractMap, key: any | null, value: any | null) => boolean
5360
- get: (self: AbstractMap, key: any | null) => any | null
5361
- set: (self: AbstractMap, key: any | null, value: any | null) => void
5362
- unset: (self: AbstractMap, key: any | null) => [ /* returnType */ boolean, /* value */ any ]
5358
+ has_key: (self: AbstractMap, key: any) => boolean
5359
+ has: (self: AbstractMap, key: any, value: any) => boolean
5360
+ get: (self: AbstractMap, key: any) => any | null
5361
+ set: (self: AbstractMap, key: any, value: any) => void
5362
+ unset: (self: AbstractMap, key: any) => [ /* returnType */ boolean, /* value */ any ]
5363
5363
  map_iterator: (self: AbstractMap) => MapIterator
5364
5364
  clear: (self: AbstractMap) => void
5365
5365
  foreach: (self: AbstractMap, f: ForallFunc) => boolean
@@ -5532,9 +5532,9 @@ interface AbstractSortedMapClass {
5532
5532
 
5533
5533
  // Own fields of Gee-0.8.Gee.AbstractSortedMapClass
5534
5534
 
5535
- head_map: (self: AbstractSortedMap, before: any | null) => SortedMap
5536
- tail_map: (self: AbstractSortedMap, after: any | null) => SortedMap
5537
- sub_map: (self: AbstractSortedMap, before: any | null, after: any | null) => SortedMap
5535
+ head_map: (self: AbstractSortedMap, before: any) => SortedMap
5536
+ tail_map: (self: AbstractSortedMap, after: any) => SortedMap
5537
+ sub_map: (self: AbstractSortedMap, before: any, after: any) => SortedMap
5538
5538
  reserved0: (self: AbstractSortedMap) => void
5539
5539
  reserved1: (self: AbstractSortedMap) => void
5540
5540
  reserved2: (self: AbstractSortedMap) => void
@@ -5568,16 +5568,16 @@ interface AbstractSortedSetClass {
5568
5568
 
5569
5569
  // Own fields of Gee-0.8.Gee.AbstractSortedSetClass
5570
5570
 
5571
- first: (self: AbstractSortedSet) => any | null
5572
- last: (self: AbstractSortedSet) => any | null
5573
- iterator_at: (self: AbstractSortedSet, element: any | null) => Iterator | null
5574
- lower: (self: AbstractSortedSet, element: any | null) => any | null
5575
- higher: (self: AbstractSortedSet, element: any | null) => any | null
5576
- floor: (self: AbstractSortedSet, element: any | null) => any | null
5577
- ceil: (self: AbstractSortedSet, element: any | null) => any | null
5578
- head_set: (self: AbstractSortedSet, before: any | null) => SortedSet
5579
- tail_set: (self: AbstractSortedSet, after: any | null) => SortedSet
5580
- sub_set: (self: AbstractSortedSet, from: any | null, to: any | null) => SortedSet
5571
+ first: (self: AbstractSortedSet) => any
5572
+ last: (self: AbstractSortedSet) => any
5573
+ iterator_at: (self: AbstractSortedSet, element: any) => Iterator | null
5574
+ lower: (self: AbstractSortedSet, element: any) => any | null
5575
+ higher: (self: AbstractSortedSet, element: any) => any | null
5576
+ floor: (self: AbstractSortedSet, element: any) => any | null
5577
+ ceil: (self: AbstractSortedSet, element: any) => any | null
5578
+ head_set: (self: AbstractSortedSet, before: any) => SortedSet
5579
+ tail_set: (self: AbstractSortedSet, after: any) => SortedSet
5580
+ sub_set: (self: AbstractSortedSet, from: any, to: any) => SortedSet
5581
5581
  reserved0: (self: AbstractSortedSet) => void
5582
5582
  reserved1: (self: AbstractSortedSet) => void
5583
5583
  reserved2: (self: AbstractSortedSet) => void
@@ -5775,7 +5775,7 @@ interface HazardPointer {
5775
5775
 
5776
5776
  // Owm methods of Gee-0.8.Gee.HazardPointer
5777
5777
 
5778
- get(other_thread: boolean): any | null
5778
+ get(other_thread: boolean): any
5779
5779
  release(notify: GLib.DestroyNotify): void
5780
5780
  }
5781
5781
 
@@ -6044,7 +6044,7 @@ interface BidirListIteratorIface {
6044
6044
 
6045
6045
  // Own fields of Gee-0.8.Gee.BidirListIteratorIface
6046
6046
 
6047
- insert: (self: BidirListIterator, item: any | null) => void
6047
+ insert: (self: BidirListIterator, item: any) => void
6048
6048
  }
6049
6049
 
6050
6050
  abstract class BidirListIteratorIface {
@@ -6105,9 +6105,9 @@ interface CollectionIface {
6105
6105
 
6106
6106
  // Own fields of Gee-0.8.Gee.CollectionIface
6107
6107
 
6108
- contains: (self: Collection, item: any | null) => boolean
6109
- add: (self: Collection, item: any | null) => boolean
6110
- remove: (self: Collection, item: any | null) => boolean
6108
+ contains: (self: Collection, item: any) => boolean
6109
+ add: (self: Collection, item: any) => boolean
6110
+ remove: (self: Collection, item: any) => boolean
6111
6111
  clear: (self: Collection) => void
6112
6112
  add_all: (self: Collection, collection: Collection) => boolean
6113
6113
  contains_all: (self: Collection, collection: Collection) => boolean
@@ -6137,7 +6137,7 @@ interface ComparableIface {
6137
6137
 
6138
6138
  // Own fields of Gee-0.8.Gee.ComparableIface
6139
6139
 
6140
- compare_to: (self: Comparable, object: any | null) => number
6140
+ compare_to: (self: Comparable, object: any) => number
6141
6141
  }
6142
6142
 
6143
6143
  abstract class ComparableIface {
@@ -6151,11 +6151,11 @@ interface DequeIface {
6151
6151
 
6152
6152
  // Own fields of Gee-0.8.Gee.DequeIface
6153
6153
 
6154
- offer_head: (self: Deque, element: any | null) => boolean
6154
+ offer_head: (self: Deque, element: any) => boolean
6155
6155
  peek_head: (self: Deque) => any | null
6156
6156
  poll_head: (self: Deque) => any | null
6157
6157
  drain_head: (self: Deque, recipient: Collection, amount: number) => number
6158
- offer_tail: (self: Deque, element: any | null) => boolean
6158
+ offer_tail: (self: Deque, element: any) => boolean
6159
6159
  peek_tail: (self: Deque) => any | null
6160
6160
  poll_tail: (self: Deque) => any | null
6161
6161
  drain_tail: (self: Deque, recipient: Collection, amount: number) => number
@@ -6172,10 +6172,10 @@ interface FutureIface {
6172
6172
 
6173
6173
  // Own fields of Gee-0.8.Gee.FutureIface
6174
6174
 
6175
- wait: (self: Future) => any | null
6175
+ wait: (self: Future) => any
6176
6176
  wait_until: (self: Future, end_time: number) => [ /* returnType */ boolean, /* value */ any ]
6177
6177
  wait_async: (self: Future, _callback_: Gio.AsyncReadyCallback | null) => void
6178
- wait_finish: (self: Future, _res_: Gio.AsyncResult) => any | null
6178
+ wait_finish: (self: Future, _res_: Gio.AsyncResult) => any
6179
6179
  map: (self: Future, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any) => Future
6180
6180
  light_map: (self: Future, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any) => Future
6181
6181
  light_map_broken: (self: Future, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any) => Future
@@ -6198,7 +6198,7 @@ interface HashableIface {
6198
6198
  // Own fields of Gee-0.8.Gee.HashableIface
6199
6199
 
6200
6200
  hash: (self: Hashable) => number
6201
- equal_to: (self: Hashable, object: any | null) => boolean
6201
+ equal_to: (self: Hashable, object: any) => boolean
6202
6202
  }
6203
6203
 
6204
6204
  abstract class HashableIface {
@@ -6228,7 +6228,7 @@ interface IteratorIface {
6228
6228
 
6229
6229
  next: (self: Iterator) => boolean
6230
6230
  has_next: (self: Iterator) => boolean
6231
- get: (self: Iterator) => any | null
6231
+ get: (self: Iterator) => any
6232
6232
  remove: (self: Iterator) => void
6233
6233
  get_valid: (self: Iterator) => boolean
6234
6234
  get_read_only: (self: Iterator) => boolean
@@ -6246,14 +6246,14 @@ interface ListIface {
6246
6246
  // Own fields of Gee-0.8.Gee.ListIface
6247
6247
 
6248
6248
  list_iterator: (self: List) => ListIterator
6249
- get: (self: List, index: number) => any | null
6250
- set: (self: List, index: number, item: any | null) => void
6251
- index_of: (self: List, item: any | null) => number
6252
- insert: (self: List, index: number, item: any | null) => void
6253
- remove_at: (self: List, index: number) => any | null
6249
+ get: (self: List, index: number) => any
6250
+ set: (self: List, index: number, item: any) => void
6251
+ index_of: (self: List, item: any) => number
6252
+ insert: (self: List, index: number, item: any) => void
6253
+ remove_at: (self: List, index: number) => any
6254
6254
  slice: (self: List, start: number, stop: number) => List | null
6255
- first: (self: List) => any | null
6256
- last: (self: List) => any | null
6255
+ first: (self: List) => any
6256
+ last: (self: List) => any
6257
6257
  insert_all: (self: List, index: number, collection: Collection) => void
6258
6258
  sort: (self: List, compare_func: GLib.CompareDataFunc | null) => void
6259
6259
  get_read_only_view: (self: List) => List
@@ -6270,8 +6270,8 @@ interface ListIteratorIface {
6270
6270
 
6271
6271
  // Own fields of Gee-0.8.Gee.ListIteratorIface
6272
6272
 
6273
- set: (self: ListIterator, item: any | null) => void
6274
- add: (self: ListIterator, item: any | null) => void
6273
+ set: (self: ListIterator, item: any) => void
6274
+ add: (self: ListIterator, item: any) => void
6275
6275
  index: (self: ListIterator) => number
6276
6276
  }
6277
6277
 
@@ -6286,11 +6286,11 @@ interface MapIface {
6286
6286
 
6287
6287
  // Own fields of Gee-0.8.Gee.MapIface
6288
6288
 
6289
- has_key: (self: Map, key: any | null) => boolean
6290
- has: (self: Map, key: any | null, value: any | null) => boolean
6291
- get: (self: Map, key: any | null) => any | null
6292
- set: (self: Map, key: any | null, value: any | null) => void
6293
- unset: (self: Map, key: any | null) => [ /* returnType */ boolean, /* value */ any ]
6289
+ has_key: (self: Map, key: any) => boolean
6290
+ has: (self: Map, key: any, value: any) => boolean
6291
+ get: (self: Map, key: any) => any | null
6292
+ set: (self: Map, key: any, value: any) => void
6293
+ unset: (self: Map, key: any) => [ /* returnType */ boolean, /* value */ any ]
6294
6294
  clear: (self: Map) => void
6295
6295
  map_iterator: (self: Map) => MapIterator
6296
6296
  set_all: (self: Map, map: Map) => void
@@ -6338,11 +6338,11 @@ interface MapIteratorIface {
6338
6338
 
6339
6339
  next: (self: MapIterator) => boolean
6340
6340
  has_next: (self: MapIterator) => boolean
6341
- get_key: (self: MapIterator) => any | null
6342
- get_value: (self: MapIterator) => any | null
6343
- set_value: (self: MapIterator, value: any | null) => void
6341
+ get_key: (self: MapIterator) => any
6342
+ get_value: (self: MapIterator) => any
6343
+ set_value: (self: MapIterator, value: any) => void
6344
6344
  unset: (self: MapIterator) => void
6345
- fold: (self: MapIterator, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldMapFunc, seed: any | null) => any | null
6345
+ fold: (self: MapIterator, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldMapFunc, seed: any) => any
6346
6346
  foreach: (self: MapIterator, f: ForallMapFunc) => boolean
6347
6347
  get_valid: (self: MapIterator) => boolean
6348
6348
  get_mutable: (self: MapIterator) => boolean
@@ -6363,11 +6363,11 @@ interface MultiMapIface {
6363
6363
  get_keys: (self: MultiMap) => Set
6364
6364
  get_all_keys: (self: MultiMap) => MultiSet
6365
6365
  get_values: (self: MultiMap) => Collection
6366
- contains: (self: MultiMap, key: any | null) => boolean
6367
- get: (self: MultiMap, key: any | null) => Collection
6368
- set: (self: MultiMap, key: any | null, value: any | null) => void
6369
- remove: (self: MultiMap, key: any | null, value: any | null) => boolean
6370
- remove_all: (self: MultiMap, key: any | null) => boolean
6366
+ contains: (self: MultiMap, key: any) => boolean
6367
+ get: (self: MultiMap, key: any) => Collection
6368
+ set: (self: MultiMap, key: any, value: any) => void
6369
+ remove: (self: MultiMap, key: any, value: any) => boolean
6370
+ remove_all: (self: MultiMap, key: any) => boolean
6371
6371
  clear: (self: MultiMap) => void
6372
6372
  map_iterator: (self: MultiMap) => MapIterator
6373
6373
  get_size: (self: MultiMap) => number
@@ -6386,7 +6386,7 @@ interface MultiSetIface {
6386
6386
 
6387
6387
  // Own fields of Gee-0.8.Gee.MultiSetIface
6388
6388
 
6389
- count: (self: MultiSet, item: any | null) => number
6389
+ count: (self: MultiSet, item: any) => number
6390
6390
  get_read_only_view: (self: MultiSet) => MultiSet
6391
6391
  }
6392
6392
 
@@ -6401,7 +6401,7 @@ interface QueueIface {
6401
6401
 
6402
6402
  // Own fields of Gee-0.8.Gee.QueueIface
6403
6403
 
6404
- offer: (self: Queue, element: any | null) => boolean
6404
+ offer: (self: Queue, element: any) => boolean
6405
6405
  peek: (self: Queue) => any | null
6406
6406
  poll: (self: Queue) => any | null
6407
6407
  drain: (self: Queue, recipient: Collection, amount: number) => number
@@ -6435,9 +6435,9 @@ interface SortedMapIface {
6435
6435
 
6436
6436
  // Own fields of Gee-0.8.Gee.SortedMapIface
6437
6437
 
6438
- head_map: (self: SortedMap, before: any | null) => SortedMap
6439
- tail_map: (self: SortedMap, after: any | null) => SortedMap
6440
- sub_map: (self: SortedMap, before: any | null, after: any | null) => SortedMap
6438
+ head_map: (self: SortedMap, before: any) => SortedMap
6439
+ tail_map: (self: SortedMap, after: any) => SortedMap
6440
+ sub_map: (self: SortedMap, before: any, after: any) => SortedMap
6441
6441
  get_ascending_keys: (self: SortedMap) => SortedSet
6442
6442
  get_ascending_entries: (self: SortedMap) => SortedSet
6443
6443
  get_read_only_view: (self: SortedMap) => SortedMap
@@ -6454,16 +6454,16 @@ interface SortedSetIface {
6454
6454
 
6455
6455
  // Own fields of Gee-0.8.Gee.SortedSetIface
6456
6456
 
6457
- first: (self: SortedSet) => any | null
6458
- last: (self: SortedSet) => any | null
6459
- iterator_at: (self: SortedSet, element: any | null) => Iterator | null
6460
- lower: (self: SortedSet, element: any | null) => any | null
6461
- higher: (self: SortedSet, element: any | null) => any | null
6462
- floor: (self: SortedSet, element: any | null) => any | null
6463
- ceil: (self: SortedSet, element: any | null) => any | null
6464
- head_set: (self: SortedSet, before: any | null) => SortedSet
6465
- tail_set: (self: SortedSet, after: any | null) => SortedSet
6466
- sub_set: (self: SortedSet, from: any | null, to: any | null) => SortedSet
6457
+ first: (self: SortedSet) => any
6458
+ last: (self: SortedSet) => any
6459
+ iterator_at: (self: SortedSet, element: any) => Iterator | null
6460
+ lower: (self: SortedSet, element: any) => any | null
6461
+ higher: (self: SortedSet, element: any) => any | null
6462
+ floor: (self: SortedSet, element: any) => any | null
6463
+ ceil: (self: SortedSet, element: any) => any | null
6464
+ head_set: (self: SortedSet, before: any) => SortedSet
6465
+ tail_set: (self: SortedSet, after: any) => SortedSet
6466
+ sub_set: (self: SortedSet, from: any, to: any) => SortedSet
6467
6467
  get_read_only_view: (self: SortedSet) => SortedSet
6468
6468
  }
6469
6469
 
@@ -6480,9 +6480,9 @@ interface TraversableIface {
6480
6480
 
6481
6481
  foreach: (self: Traversable, f: ForallFunc) => boolean
6482
6482
  stream: (self: Traversable, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: StreamFunc) => Iterator
6483
- fold: (self: Traversable, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldFunc, seed: any | null) => any | null
6483
+ fold: (self: Traversable, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldFunc, seed: any) => any
6484
6484
  map: (self: Traversable, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: MapFunc) => Iterator
6485
- scan: (self: Traversable, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldFunc, seed: any | null) => Iterator
6485
+ scan: (self: Traversable, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FoldFunc, seed: any) => Iterator
6486
6486
  filter: (self: Traversable, pred: Predicate) => Iterator
6487
6487
  chop: (self: Traversable, offset: number, length: number) => Iterator
6488
6488
  flat_map: (self: Traversable, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, f: FlatMapFunc) => Iterator
@@ -6490,8 +6490,8 @@ interface TraversableIface {
6490
6490
  first_match: (self: Traversable, pred: Predicate) => any | null
6491
6491
  any_match: (self: Traversable, pred: Predicate) => boolean
6492
6492
  all_match: (self: Traversable, pred: Predicate) => boolean
6493
- max: (self: Traversable, compare: GLib.CompareDataFunc) => any | null
6494
- min: (self: Traversable, compare: GLib.CompareDataFunc) => any | null
6493
+ max: (self: Traversable, compare: GLib.CompareDataFunc) => any
6494
+ min: (self: Traversable, compare: GLib.CompareDataFunc) => any
6495
6495
  order_by: (self: Traversable, compare: GLib.CompareDataFunc | null) => Iterator
6496
6496
  get_element_type: (self: Traversable) => GObject.GType
6497
6497
  }