@girs/gee-0.8 0.8.0-4.0.0-beta.3 → 0.8.0-4.0.0-beta.4

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.
Files changed (2) hide show
  1. package/gee-0.8.d.ts +333 -353
  2. package/package.json +5 -5
package/gee-0.8.d.ts CHANGED
@@ -69,13 +69,13 @@ export namespace Gee {
69
69
  function async_task(_callback_?: Gio.AsyncReadyCallback | null): globalThis.Promise<void> | void;
70
70
  function async_task_finish(_res_: Gio.AsyncResult): void;
71
71
  interface HashDataFunc {
72
- (t_type: GObject.GType, t_dup_func: GObject.BoxedCopyFunc, v?: any | null): number;
72
+ (t_type: GObject.GType, t_dup_func: GObject.BoxedCopyFunc, v: any): number;
73
73
  }
74
74
  interface EqualDataFunc {
75
- (t_type: GObject.GType, t_dup_func: GObject.BoxedCopyFunc, a?: any | null, b?: any | null): boolean;
75
+ (t_type: GObject.GType, t_dup_func: GObject.BoxedCopyFunc, a: any, b: any): boolean;
76
76
  }
77
77
  interface LazyFunc {
78
- (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc): any | null;
78
+ (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc): any;
79
79
  }
80
80
  interface FoldMapFunc {
81
81
  (
@@ -85,10 +85,10 @@ export namespace Gee {
85
85
  k_dup_func: GObject.BoxedCopyFunc,
86
86
  v_type: GObject.GType,
87
87
  v_dup_func: GObject.BoxedCopyFunc,
88
- k?: any | null,
89
- v?: any | null,
90
- a?: any | null,
91
- ): any | null;
88
+ k: any,
89
+ v: any,
90
+ a: any,
91
+ ): any;
92
92
  }
93
93
  interface ForallMapFunc {
94
94
  (
@@ -96,12 +96,12 @@ export namespace Gee {
96
96
  k_dup_func: GObject.BoxedCopyFunc,
97
97
  v_type: GObject.GType,
98
98
  v_dup_func: GObject.BoxedCopyFunc,
99
- k?: any | null,
100
- v?: any | null,
99
+ k: any,
100
+ v: any,
101
101
  ): boolean;
102
102
  }
103
103
  interface Task {
104
- (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc): any | null;
104
+ (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc): any;
105
105
  }
106
106
  interface FoldFunc {
107
107
  (
@@ -109,12 +109,12 @@ export namespace Gee {
109
109
  a_dup_func: GObject.BoxedCopyFunc,
110
110
  g_type: GObject.GType,
111
111
  g_dup_func: GObject.BoxedCopyFunc,
112
- g?: any | null,
113
- a?: any | null,
114
- ): any | null;
112
+ g: any,
113
+ a: any,
114
+ ): any;
115
115
  }
116
116
  interface ForallFunc {
117
- (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g?: any | null): boolean;
117
+ (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g: any): boolean;
118
118
  }
119
119
  interface UnfoldFunc {
120
120
  (a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc): Lazy | null;
@@ -135,11 +135,11 @@ export namespace Gee {
135
135
  a_dup_func: GObject.BoxedCopyFunc,
136
136
  g_type: GObject.GType,
137
137
  g_dup_func: GObject.BoxedCopyFunc,
138
- g?: any | null,
139
- ): any | null;
138
+ g: any,
139
+ ): any;
140
140
  }
141
141
  interface Predicate {
142
- (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g?: any | null): boolean;
142
+ (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g: any): boolean;
143
143
  }
144
144
  interface FlatMapFunc {
145
145
  (
@@ -147,7 +147,7 @@ export namespace Gee {
147
147
  a_dup_func: GObject.BoxedCopyFunc,
148
148
  g_type: GObject.GType,
149
149
  g_dup_func: GObject.BoxedCopyFunc,
150
- g?: any | null,
150
+ g: any,
151
151
  ): Iterator;
152
152
  }
153
153
  module AbstractBidirList {
@@ -217,27 +217,27 @@ export namespace Gee {
217
217
 
218
218
  // Inherited methods
219
219
  list_iterator(): ListIterator;
220
- get(index: number): any | null;
221
- set(index: number, item?: any | null): void;
220
+ get(index: number): any;
221
+ set(index: number, item: any): void;
222
222
  // Conflicted with GObject.Object.set
223
223
  set(...args: never[]): any;
224
- index_of(item?: any | null): number;
225
- insert(index: number, item?: any | null): void;
226
- remove_at(index: number): any | null;
224
+ index_of(item: any): number;
225
+ insert(index: number, item: any): void;
226
+ remove_at(index: number): any;
227
227
  slice(start: number, stop: number): List | null;
228
- first(): any | null;
229
- last(): any | null;
228
+ first(): any;
229
+ last(): any;
230
230
  insert_all(index: number, collection: Collection): void;
231
231
  sort(compare_func?: GLib.CompareDataFunc | null): void;
232
232
  vfunc_list_iterator(): ListIterator;
233
- vfunc_get(index: number): any | null;
234
- vfunc_set(index: number, item?: any | null): void;
235
- vfunc_index_of(item?: any | null): number;
236
- vfunc_insert(index: number, item?: any | null): void;
237
- vfunc_remove_at(index: number): any | null;
233
+ vfunc_get(index: number): any;
234
+ vfunc_set(index: number, item: any): void;
235
+ vfunc_index_of(item: any): number;
236
+ vfunc_insert(index: number, item: any): void;
237
+ vfunc_remove_at(index: number): any;
238
238
  vfunc_slice(start: number, stop: number): List | null;
239
- vfunc_first(): any | null;
240
- vfunc_last(): any | null;
239
+ vfunc_first(): any;
240
+ vfunc_last(): any;
241
241
  vfunc_insert_all(index: number, collection: Collection): void;
242
242
  vfunc_sort(compare_func?: GLib.CompareDataFunc | null): void;
243
243
  }
@@ -308,26 +308,26 @@ export namespace Gee {
308
308
  get_read_only_view(): BidirSortedSet;
309
309
 
310
310
  // Inherited methods
311
- first(): any | null;
312
- last(): any | null;
313
- iterator_at(element?: any | null): Iterator | null;
314
- lower(element?: any | null): any | null;
315
- higher(element?: any | null): any | null;
316
- floor(element?: any | null): any | null;
317
- ceil(element?: any | null): any | null;
318
- head_set(before?: any | null): SortedSet;
319
- tail_set(after?: any | null): SortedSet;
320
- sub_set(from?: any | null, to?: any | null): SortedSet;
321
- vfunc_first(): any | null;
322
- vfunc_last(): any | null;
323
- vfunc_iterator_at(element?: any | null): Iterator | null;
324
- vfunc_lower(element?: any | null): any | null;
325
- vfunc_higher(element?: any | null): any | null;
326
- vfunc_floor(element?: any | null): any | null;
327
- vfunc_ceil(element?: any | null): any | null;
328
- vfunc_head_set(before?: any | null): SortedSet;
329
- vfunc_tail_set(after?: any | null): SortedSet;
330
- vfunc_sub_set(from?: any | null, to?: any | null): SortedSet;
311
+ first(): any;
312
+ last(): any;
313
+ iterator_at(element: any): Iterator | null;
314
+ lower(element: any): any | null;
315
+ higher(element: any): any | null;
316
+ floor(element: any): any | null;
317
+ ceil(element: any): any | null;
318
+ head_set(before: any): SortedSet;
319
+ tail_set(after: any): SortedSet;
320
+ sub_set(from: any, to: any): SortedSet;
321
+ vfunc_first(): any;
322
+ vfunc_last(): any;
323
+ vfunc_iterator_at(element: any): Iterator | null;
324
+ vfunc_lower(element: any): any | null;
325
+ vfunc_higher(element: any): any | null;
326
+ vfunc_floor(element: any): any | null;
327
+ vfunc_ceil(element: any): any | null;
328
+ vfunc_head_set(before: any): SortedSet;
329
+ vfunc_tail_set(after: any): SortedSet;
330
+ vfunc_sub_set(from: any, to: any): SortedSet;
331
331
  }
332
332
 
333
333
  module AbstractBidirSortedMap {
@@ -416,14 +416,14 @@ export namespace Gee {
416
416
  get ascendingEntries(): SortedSet;
417
417
 
418
418
  // Inherited methods
419
- head_map(before?: any | null): SortedMap;
420
- tail_map(after?: any | null): SortedMap;
421
- sub_map(before?: any | null, after?: any | null): SortedMap;
419
+ head_map(before: any): SortedMap;
420
+ tail_map(after: any): SortedMap;
421
+ sub_map(before: any, after: any): SortedMap;
422
422
  get_ascending_keys(): SortedSet;
423
423
  get_ascending_entries(): SortedSet;
424
- vfunc_head_map(before?: any | null): SortedMap;
425
- vfunc_tail_map(after?: any | null): SortedMap;
426
- vfunc_sub_map(before?: any | null, after?: any | null): SortedMap;
424
+ vfunc_head_map(before: any): SortedMap;
425
+ vfunc_tail_map(after: any): SortedMap;
426
+ vfunc_sub_map(before: any, after: any): SortedMap;
427
427
  vfunc_get_ascending_keys(): SortedSet;
428
428
  vfunc_get_ascending_entries(): SortedSet;
429
429
  }
@@ -475,9 +475,9 @@ export namespace Gee {
475
475
 
476
476
  // Own virtual methods of Gee.AbstractCollection
477
477
 
478
- vfunc_contains(item?: any | null): boolean;
479
- vfunc_add(item?: any | null): boolean;
480
- vfunc_remove(item?: any | null): boolean;
478
+ vfunc_contains(item: any): boolean;
479
+ vfunc_add(item: any): boolean;
480
+ vfunc_remove(item: any): boolean;
481
481
  vfunc_clear(): void;
482
482
  vfunc_iterator(): Iterator;
483
483
  vfunc_foreach(f: ForallFunc): boolean;
@@ -497,9 +497,9 @@ export namespace Gee {
497
497
 
498
498
  // Own methods of Gee.AbstractCollection
499
499
 
500
- contains(item?: any | null): boolean;
501
- add(item?: any | null): boolean;
502
- remove(item?: any | null): boolean;
500
+ contains(item: any): boolean;
501
+ add(item: any): boolean;
502
+ remove(item: any): boolean;
503
503
  clear(): void;
504
504
  iterator(): Iterator;
505
505
  foreach(f: ForallFunc): boolean;
@@ -519,9 +519,9 @@ export namespace Gee {
519
519
 
520
520
  // Inherited methods
521
521
  stream(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: StreamFunc): Iterator;
522
- fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed?: any | null): any | null;
522
+ fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed: any): any;
523
523
  map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: MapFunc): Iterator;
524
- scan(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed?: any | null): Iterator;
524
+ scan(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed: any): Iterator;
525
525
  filter(pred: Predicate): Iterator;
526
526
  chop(offset: number, length: number): Iterator;
527
527
  flat_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FlatMapFunc): Iterator;
@@ -529,19 +529,14 @@ export namespace Gee {
529
529
  first_match(pred: Predicate): any | null;
530
530
  any_match(pred: Predicate): boolean;
531
531
  all_match(pred: Predicate): boolean;
532
- max(compare: GLib.CompareDataFunc): any | null;
533
- min(compare: GLib.CompareDataFunc): any | null;
532
+ max(compare: GLib.CompareDataFunc): any;
533
+ min(compare: GLib.CompareDataFunc): any;
534
534
  order_by(compare?: GLib.CompareDataFunc | null): Iterator;
535
535
  get_element_type(): GObject.GType;
536
536
  vfunc_stream(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: StreamFunc): Iterator;
537
- vfunc_fold(
538
- a_type: GObject.GType,
539
- a_dup_func: GObject.BoxedCopyFunc,
540
- f: FoldFunc,
541
- seed?: any | null,
542
- ): any | null;
537
+ vfunc_fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed: any): any;
543
538
  vfunc_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: MapFunc): Iterator;
544
- vfunc_scan(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed?: any | null): Iterator;
539
+ vfunc_scan(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed: any): Iterator;
545
540
  vfunc_filter(pred: Predicate): Iterator;
546
541
  vfunc_chop(offset: number, length: number): Iterator;
547
542
  vfunc_flat_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FlatMapFunc): Iterator;
@@ -549,8 +544,8 @@ export namespace Gee {
549
544
  vfunc_first_match(pred: Predicate): any | null;
550
545
  vfunc_any_match(pred: Predicate): boolean;
551
546
  vfunc_all_match(pred: Predicate): boolean;
552
- vfunc_max(compare: GLib.CompareDataFunc): any | null;
553
- vfunc_min(compare: GLib.CompareDataFunc): any | null;
547
+ vfunc_max(compare: GLib.CompareDataFunc): any;
548
+ vfunc_min(compare: GLib.CompareDataFunc): any;
554
549
  vfunc_order_by(compare?: GLib.CompareDataFunc | null): Iterator;
555
550
  vfunc_get_element_type(): GObject.GType;
556
551
  add_all(collection: Collection): boolean;
@@ -754,7 +749,7 @@ export namespace Gee {
754
749
  * static void
755
750
  * my_object_class_init (MyObjectClass *klass)
756
751
  * {
757
- * properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo",
752
+ * properties[PROP_FOO] = g_param_spec_int ("foo", NULL, NULL,
758
753
  * 0, 100,
759
754
  * 50,
760
755
  * G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
@@ -972,11 +967,11 @@ export namespace Gee {
972
967
  // Own virtual methods of Gee.AbstractList
973
968
 
974
969
  vfunc_list_iterator(): ListIterator;
975
- vfunc_get(index: number): any | null;
976
- vfunc_set(index: number, item?: any | null): void;
977
- vfunc_index_of(item?: any | null): number;
978
- vfunc_insert(index: number, item?: any | null): void;
979
- vfunc_remove_at(index: number): any | null;
970
+ vfunc_get(index: number): any;
971
+ vfunc_set(index: number, item: any): void;
972
+ vfunc_index_of(item: any): number;
973
+ vfunc_insert(index: number, item: any): void;
974
+ vfunc_remove_at(index: number): any;
980
975
  vfunc_slice(start: number, stop: number): List | null;
981
976
  vfunc_reserved0(): void;
982
977
  vfunc_reserved1(): void;
@@ -993,13 +988,13 @@ export namespace Gee {
993
988
  // Own methods of Gee.AbstractList
994
989
 
995
990
  list_iterator(): ListIterator;
996
- get(index: number): any | null;
997
- set(index: number, item?: any | null): void;
991
+ get(index: number): any;
992
+ set(index: number, item: any): void;
998
993
  // Conflicted with GObject.Object.set
999
994
  set(...args: never[]): any;
1000
- index_of(item?: any | null): number;
1001
- insert(index: number, item?: any | null): void;
1002
- remove_at(index: number): any | null;
995
+ index_of(item: any): number;
996
+ insert(index: number, item: any): void;
997
+ remove_at(index: number): any;
1003
998
  slice(start: number, stop: number): List | null;
1004
999
  reserved0(): void;
1005
1000
  reserved1(): void;
@@ -1019,17 +1014,17 @@ export namespace Gee {
1019
1014
  get readOnly(): boolean;
1020
1015
 
1021
1016
  // Inherited methods
1022
- first(): any | null;
1023
- last(): any | null;
1017
+ first(): any;
1018
+ last(): any;
1024
1019
  insert_all(index: number, collection: Collection): void;
1025
1020
  sort(compare_func?: GLib.CompareDataFunc | null): void;
1026
- vfunc_first(): any | null;
1027
- vfunc_last(): any | null;
1021
+ vfunc_first(): any;
1022
+ vfunc_last(): any;
1028
1023
  vfunc_insert_all(index: number, collection: Collection): void;
1029
1024
  vfunc_sort(compare_func?: GLib.CompareDataFunc | null): void;
1030
- contains(item?: any | null): boolean;
1031
- add(item?: any | null): boolean;
1032
- remove(item?: any | null): boolean;
1025
+ contains(item: any): boolean;
1026
+ add(item: any): boolean;
1027
+ remove(item: any): boolean;
1033
1028
  clear(): void;
1034
1029
  add_all(collection: Collection): boolean;
1035
1030
  contains_all(collection: Collection): boolean;
@@ -1045,9 +1040,9 @@ export namespace Gee {
1045
1040
  get_size(): number;
1046
1041
  get_is_empty(): boolean;
1047
1042
  get_read_only(): boolean;
1048
- vfunc_contains(item?: any | null): boolean;
1049
- vfunc_add(item?: any | null): boolean;
1050
- vfunc_remove(item?: any | null): boolean;
1043
+ vfunc_contains(item: any): boolean;
1044
+ vfunc_add(item: any): boolean;
1045
+ vfunc_remove(item: any): boolean;
1051
1046
  vfunc_clear(): void;
1052
1047
  vfunc_add_all(collection: Collection): boolean;
1053
1048
  vfunc_contains_all(collection: Collection): boolean;
@@ -1132,11 +1127,11 @@ export namespace Gee {
1132
1127
 
1133
1128
  // Own virtual methods of Gee.AbstractMap
1134
1129
 
1135
- vfunc_has_key(key?: any | null): boolean;
1136
- vfunc_has(key?: any | null, value?: any | null): boolean;
1137
- vfunc_get(key?: any | null): any | null;
1138
- vfunc_set(key?: any | null, value?: any | null): void;
1139
- vfunc_unset(key: any | null): [boolean, any];
1130
+ vfunc_has_key(key: any): boolean;
1131
+ vfunc_has(key: any, value: any): boolean;
1132
+ vfunc_get(key: any): any | null;
1133
+ vfunc_set(key: any, value: any): void;
1134
+ vfunc_unset(key: any): [boolean, any];
1140
1135
  vfunc_map_iterator(): MapIterator;
1141
1136
  vfunc_clear(): void;
1142
1137
  vfunc_foreach(f: ForallFunc): boolean;
@@ -1160,13 +1155,13 @@ export namespace Gee {
1160
1155
 
1161
1156
  // Own methods of Gee.AbstractMap
1162
1157
 
1163
- has_key(key?: any | null): boolean;
1164
- has(key?: any | null, value?: any | null): boolean;
1165
- get(key?: any | null): any | null;
1166
- set(key?: any | null, value?: any | null): void;
1158
+ has_key(key: any): boolean;
1159
+ has(key: any, value: any): boolean;
1160
+ get(key: any): any | null;
1161
+ set(key: any, value: any): void;
1167
1162
  // Conflicted with GObject.Object.set
1168
1163
  set(...args: never[]): any;
1169
- unset(key: any | null): [boolean, any];
1164
+ unset(key: any): [boolean, any];
1170
1165
  map_iterator(): MapIterator;
1171
1166
  clear(): void;
1172
1167
  foreach(f: ForallFunc): boolean;
@@ -1189,9 +1184,9 @@ export namespace Gee {
1189
1184
  get_read_only_view(): Map;
1190
1185
 
1191
1186
  // Inherited methods
1192
- fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed?: any | null): any | null;
1187
+ fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed: any): any;
1193
1188
  map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: MapFunc): Iterator;
1194
- scan(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed?: any | null): Iterator;
1189
+ scan(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed: any): Iterator;
1195
1190
  filter(pred: Predicate): Iterator;
1196
1191
  chop(offset: number, length: number): Iterator;
1197
1192
  flat_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FlatMapFunc): Iterator;
@@ -1199,18 +1194,13 @@ export namespace Gee {
1199
1194
  first_match(pred: Predicate): any | null;
1200
1195
  any_match(pred: Predicate): boolean;
1201
1196
  all_match(pred: Predicate): boolean;
1202
- max(compare: GLib.CompareDataFunc): any | null;
1203
- min(compare: GLib.CompareDataFunc): any | null;
1197
+ max(compare: GLib.CompareDataFunc): any;
1198
+ min(compare: GLib.CompareDataFunc): any;
1204
1199
  order_by(compare?: GLib.CompareDataFunc | null): Iterator;
1205
1200
  get_element_type(): GObject.GType;
1206
- vfunc_fold(
1207
- a_type: GObject.GType,
1208
- a_dup_func: GObject.BoxedCopyFunc,
1209
- f: FoldFunc,
1210
- seed?: any | null,
1211
- ): any | null;
1201
+ vfunc_fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed: any): any;
1212
1202
  vfunc_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: MapFunc): Iterator;
1213
- vfunc_scan(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed?: any | null): Iterator;
1203
+ vfunc_scan(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed: any): Iterator;
1214
1204
  vfunc_filter(pred: Predicate): Iterator;
1215
1205
  vfunc_chop(offset: number, length: number): Iterator;
1216
1206
  vfunc_flat_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FlatMapFunc): Iterator;
@@ -1218,14 +1208,14 @@ export namespace Gee {
1218
1208
  vfunc_first_match(pred: Predicate): any | null;
1219
1209
  vfunc_any_match(pred: Predicate): boolean;
1220
1210
  vfunc_all_match(pred: Predicate): boolean;
1221
- vfunc_max(compare: GLib.CompareDataFunc): any | null;
1222
- vfunc_min(compare: GLib.CompareDataFunc): any | null;
1211
+ vfunc_max(compare: GLib.CompareDataFunc): any;
1212
+ vfunc_min(compare: GLib.CompareDataFunc): any;
1223
1213
  vfunc_order_by(compare?: GLib.CompareDataFunc | null): Iterator;
1224
1214
  vfunc_get_element_type(): GObject.GType;
1225
1215
  iterator(): Iterator;
1226
1216
  vfunc_iterator(): Iterator;
1227
- contains(key?: any | null): boolean;
1228
- remove(key: any | null): [boolean, any];
1217
+ contains(key: any): boolean;
1218
+ remove(key: any): [boolean, any];
1229
1219
  set_all(map: Map): void;
1230
1220
  unset_all(map: Map): boolean;
1231
1221
  remove_all(map: Map): boolean;
@@ -1415,7 +1405,7 @@ export namespace Gee {
1415
1405
  * static void
1416
1406
  * my_object_class_init (MyObjectClass *klass)
1417
1407
  * {
1418
- * properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo",
1408
+ * properties[PROP_FOO] = g_param_spec_int ("foo", NULL, NULL,
1419
1409
  * 0, 100,
1420
1410
  * 50,
1421
1411
  * G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
@@ -1678,13 +1668,13 @@ export namespace Gee {
1678
1668
  get_keys(): Set;
1679
1669
  get_all_keys(): MultiSet;
1680
1670
  get_values(): Collection;
1681
- contains(key?: any | null): boolean;
1682
- get(key?: any | null): Collection;
1683
- set(key?: any | null, value?: any | null): void;
1671
+ contains(key: any): boolean;
1672
+ get(key: any): Collection;
1673
+ set(key: any, value: any): void;
1684
1674
  // Conflicted with GObject.Object.set
1685
1675
  set(...args: never[]): any;
1686
- remove(key?: any | null, value?: any | null): boolean;
1687
- remove_all(key?: any | null): boolean;
1676
+ remove(key: any, value: any): boolean;
1677
+ remove_all(key: any): boolean;
1688
1678
  clear(): void;
1689
1679
  map_iterator(): MapIterator;
1690
1680
  get_size(): number;
@@ -1694,11 +1684,11 @@ export namespace Gee {
1694
1684
  vfunc_get_keys(): Set;
1695
1685
  vfunc_get_all_keys(): MultiSet;
1696
1686
  vfunc_get_values(): Collection;
1697
- vfunc_contains(key?: any | null): boolean;
1698
- vfunc_get(key?: any | null): Collection;
1699
- vfunc_set(key?: any | null, value?: any | null): void;
1700
- vfunc_remove(key?: any | null, value?: any | null): boolean;
1701
- vfunc_remove_all(key?: any | null): boolean;
1687
+ vfunc_contains(key: any): boolean;
1688
+ vfunc_get(key: any): Collection;
1689
+ vfunc_set(key: any, value: any): void;
1690
+ vfunc_remove(key: any, value: any): boolean;
1691
+ vfunc_remove_all(key: any): boolean;
1702
1692
  vfunc_clear(): void;
1703
1693
  vfunc_map_iterator(): MapIterator;
1704
1694
  vfunc_get_size(): number;
@@ -1880,7 +1870,7 @@ export namespace Gee {
1880
1870
  * static void
1881
1871
  * my_object_class_init (MyObjectClass *klass)
1882
1872
  * {
1883
- * properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo",
1873
+ * properties[PROP_FOO] = g_param_spec_int ("foo", NULL, NULL,
1884
1874
  * 0, 100,
1885
1875
  * 50,
1886
1876
  * G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
@@ -2124,11 +2114,11 @@ export namespace Gee {
2124
2114
  get readOnlyView(): Collection;
2125
2115
 
2126
2116
  // Inherited methods
2127
- count(item?: any | null): number;
2128
- vfunc_count(item?: any | null): number;
2129
- contains(item?: any | null): boolean;
2130
- add(item?: any | null): boolean;
2131
- remove(item?: any | null): boolean;
2117
+ count(item: any): number;
2118
+ vfunc_count(item: any): number;
2119
+ contains(item: any): boolean;
2120
+ add(item: any): boolean;
2121
+ remove(item: any): boolean;
2132
2122
  clear(): void;
2133
2123
  add_all(collection: Collection): boolean;
2134
2124
  contains_all(collection: Collection): boolean;
@@ -2144,9 +2134,9 @@ export namespace Gee {
2144
2134
  get_size(): number;
2145
2135
  get_is_empty(): boolean;
2146
2136
  get_read_only(): boolean;
2147
- vfunc_contains(item?: any | null): boolean;
2148
- vfunc_add(item?: any | null): boolean;
2149
- vfunc_remove(item?: any | null): boolean;
2137
+ vfunc_contains(item: any): boolean;
2138
+ vfunc_add(item: any): boolean;
2139
+ vfunc_remove(item: any): boolean;
2150
2140
  vfunc_clear(): void;
2151
2141
  vfunc_add_all(collection: Collection): boolean;
2152
2142
  vfunc_contains_all(collection: Collection): boolean;
@@ -2251,13 +2241,13 @@ export namespace Gee {
2251
2241
  get readOnlyView(): Collection;
2252
2242
 
2253
2243
  // Inherited methods
2254
- offer(element?: any | null): boolean;
2244
+ offer(element: any): boolean;
2255
2245
  drain(recipient: Collection, amount: number): number;
2256
- vfunc_offer(element?: any | null): boolean;
2246
+ vfunc_offer(element: any): boolean;
2257
2247
  vfunc_drain(recipient: Collection, amount: number): number;
2258
- contains(item?: any | null): boolean;
2259
- add(item?: any | null): boolean;
2260
- remove(item?: any | null): boolean;
2248
+ contains(item: any): boolean;
2249
+ add(item: any): boolean;
2250
+ remove(item: any): boolean;
2261
2251
  clear(): void;
2262
2252
  add_all(collection: Collection): boolean;
2263
2253
  contains_all(collection: Collection): boolean;
@@ -2274,9 +2264,9 @@ export namespace Gee {
2274
2264
  get_is_empty(): boolean;
2275
2265
  get_read_only(): boolean;
2276
2266
  get_read_only_view(): Collection;
2277
- vfunc_contains(item?: any | null): boolean;
2278
- vfunc_add(item?: any | null): boolean;
2279
- vfunc_remove(item?: any | null): boolean;
2267
+ vfunc_contains(item: any): boolean;
2268
+ vfunc_add(item: any): boolean;
2269
+ vfunc_remove(item: any): boolean;
2280
2270
  vfunc_clear(): void;
2281
2271
  vfunc_add_all(collection: Collection): boolean;
2282
2272
  vfunc_contains_all(collection: Collection): boolean;
@@ -2366,9 +2356,9 @@ export namespace Gee {
2366
2356
  get readOnly(): boolean;
2367
2357
 
2368
2358
  // Inherited methods
2369
- contains(item?: any | null): boolean;
2370
- add(item?: any | null): boolean;
2371
- remove(item?: any | null): boolean;
2359
+ contains(item: any): boolean;
2360
+ add(item: any): boolean;
2361
+ remove(item: any): boolean;
2372
2362
  clear(): void;
2373
2363
  add_all(collection: Collection): boolean;
2374
2364
  contains_all(collection: Collection): boolean;
@@ -2384,9 +2374,9 @@ export namespace Gee {
2384
2374
  get_size(): number;
2385
2375
  get_is_empty(): boolean;
2386
2376
  get_read_only(): boolean;
2387
- vfunc_contains(item?: any | null): boolean;
2388
- vfunc_add(item?: any | null): boolean;
2389
- vfunc_remove(item?: any | null): boolean;
2377
+ vfunc_contains(item: any): boolean;
2378
+ vfunc_add(item: any): boolean;
2379
+ vfunc_remove(item: any): boolean;
2390
2380
  vfunc_clear(): void;
2391
2381
  vfunc_add_all(collection: Collection): boolean;
2392
2382
  vfunc_contains_all(collection: Collection): boolean;
@@ -2463,9 +2453,9 @@ export namespace Gee {
2463
2453
 
2464
2454
  // Own virtual methods of Gee.AbstractSortedMap
2465
2455
 
2466
- vfunc_head_map(before?: any | null): SortedMap;
2467
- vfunc_tail_map(after?: any | null): SortedMap;
2468
- vfunc_sub_map(before?: any | null, after?: any | null): SortedMap;
2456
+ vfunc_head_map(before: any): SortedMap;
2457
+ vfunc_tail_map(after: any): SortedMap;
2458
+ vfunc_sub_map(before: any, after: any): SortedMap;
2469
2459
  vfunc_reserved0(): void;
2470
2460
  vfunc_reserved1(): void;
2471
2461
  vfunc_reserved2(): void;
@@ -2481,9 +2471,9 @@ export namespace Gee {
2481
2471
 
2482
2472
  // Own methods of Gee.AbstractSortedMap
2483
2473
 
2484
- head_map(before?: any | null): SortedMap;
2485
- tail_map(after?: any | null): SortedMap;
2486
- sub_map(before?: any | null, after?: any | null): SortedMap;
2474
+ head_map(before: any): SortedMap;
2475
+ tail_map(after: any): SortedMap;
2476
+ sub_map(before: any, after: any): SortedMap;
2487
2477
  reserved0(): void;
2488
2478
  reserved1(): void;
2489
2479
  reserved2(): void;
@@ -2508,15 +2498,15 @@ export namespace Gee {
2508
2498
  // Inherited methods
2509
2499
  get_read_only_view(): SortedMap;
2510
2500
  vfunc_get_read_only_view(): SortedMap;
2511
- has_key(key?: any | null): boolean;
2512
- contains(key?: any | null): boolean;
2513
- has(key?: any | null, value?: any | null): boolean;
2514
- get(key?: any | null): any | null;
2515
- set(key?: any | null, value?: any | null): void;
2501
+ has_key(key: any): boolean;
2502
+ contains(key: any): boolean;
2503
+ has(key: any, value: any): boolean;
2504
+ get(key: any): any | null;
2505
+ set(key: any, value: any): void;
2516
2506
  // Conflicted with GObject.Object.set
2517
2507
  set(...args: never[]): any;
2518
- unset(key: any | null): [boolean, any];
2519
- remove(key: any | null): [boolean, any];
2508
+ unset(key: any): [boolean, any];
2509
+ remove(key: any): [boolean, any];
2520
2510
  clear(): void;
2521
2511
  map_iterator(): MapIterator;
2522
2512
  set_all(map: Map): void;
@@ -2532,11 +2522,11 @@ export namespace Gee {
2532
2522
  get_entries(): Set;
2533
2523
  get_key_type(): GObject.GType;
2534
2524
  get_value_type(): GObject.GType;
2535
- vfunc_has_key(key?: any | null): boolean;
2536
- vfunc_has(key?: any | null, value?: any | null): boolean;
2537
- vfunc_get(key?: any | null): any | null;
2538
- vfunc_set(key?: any | null, value?: any | null): void;
2539
- vfunc_unset(key: any | null): [boolean, any];
2525
+ vfunc_has_key(key: any): boolean;
2526
+ vfunc_has(key: any, value: any): boolean;
2527
+ vfunc_get(key: any): any | null;
2528
+ vfunc_set(key: any, value: any): void;
2529
+ vfunc_unset(key: any): [boolean, any];
2540
2530
  vfunc_clear(): void;
2541
2531
  vfunc_map_iterator(): MapIterator;
2542
2532
  vfunc_set_all(map: Map): void;
@@ -2587,16 +2577,16 @@ export namespace Gee {
2587
2577
 
2588
2578
  // Own virtual methods of Gee.AbstractSortedSet
2589
2579
 
2590
- vfunc_first(): any | null;
2591
- vfunc_last(): any | null;
2592
- vfunc_iterator_at(element?: any | null): Iterator | null;
2593
- vfunc_lower(element?: any | null): any | null;
2594
- vfunc_higher(element?: any | null): any | null;
2595
- vfunc_floor(element?: any | null): any | null;
2596
- vfunc_ceil(element?: any | null): any | null;
2597
- vfunc_head_set(before?: any | null): SortedSet;
2598
- vfunc_tail_set(after?: any | null): SortedSet;
2599
- vfunc_sub_set(from?: any | null, to?: any | null): SortedSet;
2580
+ vfunc_first(): any;
2581
+ vfunc_last(): any;
2582
+ vfunc_iterator_at(element: any): Iterator | null;
2583
+ vfunc_lower(element: any): any | null;
2584
+ vfunc_higher(element: any): any | null;
2585
+ vfunc_floor(element: any): any | null;
2586
+ vfunc_ceil(element: any): any | null;
2587
+ vfunc_head_set(before: any): SortedSet;
2588
+ vfunc_tail_set(after: any): SortedSet;
2589
+ vfunc_sub_set(from: any, to: any): SortedSet;
2600
2590
  vfunc_reserved0(): void;
2601
2591
  vfunc_reserved1(): void;
2602
2592
  vfunc_reserved2(): void;
@@ -2611,16 +2601,16 @@ export namespace Gee {
2611
2601
 
2612
2602
  // Own methods of Gee.AbstractSortedSet
2613
2603
 
2614
- first(): any | null;
2615
- last(): any | null;
2616
- iterator_at(element?: any | null): Iterator | null;
2617
- lower(element?: any | null): any | null;
2618
- higher(element?: any | null): any | null;
2619
- floor(element?: any | null): any | null;
2620
- ceil(element?: any | null): any | null;
2621
- head_set(before?: any | null): SortedSet;
2622
- tail_set(after?: any | null): SortedSet;
2623
- sub_set(from?: any | null, to?: any | null): SortedSet;
2604
+ first(): any;
2605
+ last(): any;
2606
+ iterator_at(element: any): Iterator | null;
2607
+ lower(element: any): any | null;
2608
+ higher(element: any): any | null;
2609
+ floor(element: any): any | null;
2610
+ ceil(element: any): any | null;
2611
+ head_set(before: any): SortedSet;
2612
+ tail_set(after: any): SortedSet;
2613
+ sub_set(from: any, to: any): SortedSet;
2624
2614
  reserved0(): void;
2625
2615
  reserved1(): void;
2626
2616
  reserved2(): void;
@@ -2738,30 +2728,30 @@ export namespace Gee {
2738
2728
  get isFull(): boolean;
2739
2729
 
2740
2730
  // Inherited methods
2741
- offer_head(element?: any | null): boolean;
2731
+ offer_head(element: any): boolean;
2742
2732
  peek_head(): any | null;
2743
2733
  poll_head(): any | null;
2744
2734
  drain_head(recipient: Collection, amount: number): number;
2745
- offer_tail(element?: any | null): boolean;
2735
+ offer_tail(element: any): boolean;
2746
2736
  peek_tail(): any | null;
2747
2737
  poll_tail(): any | null;
2748
2738
  drain_tail(recipient: Collection, amount: number): number;
2749
- vfunc_offer_head(element?: any | null): boolean;
2739
+ vfunc_offer_head(element: any): boolean;
2750
2740
  vfunc_peek_head(): any | null;
2751
2741
  vfunc_poll_head(): any | null;
2752
2742
  vfunc_drain_head(recipient: Collection, amount: number): number;
2753
- vfunc_offer_tail(element?: any | null): boolean;
2743
+ vfunc_offer_tail(element: any): boolean;
2754
2744
  vfunc_peek_tail(): any | null;
2755
2745
  vfunc_poll_tail(): any | null;
2756
2746
  vfunc_drain_tail(recipient: Collection, amount: number): number;
2757
- offer(element?: any | null): boolean;
2747
+ offer(element: any): boolean;
2758
2748
  peek(): any | null;
2759
2749
  poll(): any | null;
2760
2750
  drain(recipient: Collection, amount: number): number;
2761
2751
  get_capacity(): number;
2762
2752
  get_remaining_capacity(): number;
2763
2753
  get_is_full(): boolean;
2764
- vfunc_offer(element?: any | null): boolean;
2754
+ vfunc_offer(element: any): boolean;
2765
2755
  vfunc_peek(): any | null;
2766
2756
  vfunc_poll(): any | null;
2767
2757
  vfunc_drain(recipient: Collection, amount: number): number;
@@ -3085,13 +3075,13 @@ export namespace Gee {
3085
3075
 
3086
3076
  static ['new'](g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, func: LazyFunc): Lazy;
3087
3077
 
3088
- static from_value(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, item?: any | null): Lazy;
3078
+ static from_value(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, item: any): Lazy;
3089
3079
 
3090
3080
  // Own methods of Gee.Lazy
3091
3081
 
3092
3082
  ['eval'](): void;
3093
- get(): any | null;
3094
- get_value(): any | null;
3083
+ get(): any;
3084
+ get_value(): any;
3095
3085
  get_future(): Future | null;
3096
3086
  }
3097
3087
 
@@ -3141,8 +3131,8 @@ export namespace Gee {
3141
3131
 
3142
3132
  // Own methods of Gee.LinkedList
3143
3133
 
3144
- first(): any | null;
3145
- last(): any | null;
3134
+ first(): any;
3135
+ last(): any;
3146
3136
  get_equal_func(): [EqualDataFunc, any];
3147
3137
 
3148
3138
  // Inherited properties
@@ -3153,33 +3143,33 @@ export namespace Gee {
3153
3143
  get isFull(): boolean;
3154
3144
 
3155
3145
  // Inherited methods
3156
- offer(element?: any | null): boolean;
3146
+ offer(element: any): boolean;
3157
3147
  peek(): any | null;
3158
3148
  poll(): any | null;
3159
3149
  drain(recipient: Collection, amount: number): number;
3160
3150
  get_capacity(): number;
3161
3151
  get_remaining_capacity(): number;
3162
3152
  get_is_full(): boolean;
3163
- vfunc_offer(element?: any | null): boolean;
3153
+ vfunc_offer(element: any): boolean;
3164
3154
  vfunc_peek(): any | null;
3165
3155
  vfunc_poll(): any | null;
3166
3156
  vfunc_drain(recipient: Collection, amount: number): number;
3167
3157
  vfunc_get_capacity(): number;
3168
3158
  vfunc_get_remaining_capacity(): number;
3169
3159
  vfunc_get_is_full(): boolean;
3170
- offer_head(element?: any | null): boolean;
3160
+ offer_head(element: any): boolean;
3171
3161
  peek_head(): any | null;
3172
3162
  poll_head(): any | null;
3173
3163
  drain_head(recipient: Collection, amount: number): number;
3174
- offer_tail(element?: any | null): boolean;
3164
+ offer_tail(element: any): boolean;
3175
3165
  peek_tail(): any | null;
3176
3166
  poll_tail(): any | null;
3177
3167
  drain_tail(recipient: Collection, amount: number): number;
3178
- vfunc_offer_head(element?: any | null): boolean;
3168
+ vfunc_offer_head(element: any): boolean;
3179
3169
  vfunc_peek_head(): any | null;
3180
3170
  vfunc_poll_head(): any | null;
3181
3171
  vfunc_drain_head(recipient: Collection, amount: number): number;
3182
- vfunc_offer_tail(element?: any | null): boolean;
3172
+ vfunc_offer_tail(element: any): boolean;
3183
3173
  vfunc_peek_tail(): any | null;
3184
3174
  vfunc_poll_tail(): any | null;
3185
3175
  vfunc_drain_tail(recipient: Collection, amount: number): number;
@@ -3224,7 +3214,7 @@ export namespace Gee {
3224
3214
 
3225
3215
  // Own methods of Gee.PriorityQueue
3226
3216
 
3227
- offer(element?: any | null): boolean;
3217
+ offer(element: any): boolean;
3228
3218
  drain(recipient: Collection, amount: number): number;
3229
3219
  get_compare_func(): [GLib.CompareDataFunc, any];
3230
3220
  }
@@ -3244,7 +3234,7 @@ export namespace Gee {
3244
3234
 
3245
3235
  // Own methods of Gee.Promise
3246
3236
 
3247
- set_value(value?: any | null): void;
3237
+ set_value(value: any): void;
3248
3238
  set_exception(exception: GLib.Error): void;
3249
3239
  get_future(): Future;
3250
3240
  }
@@ -3505,33 +3495,33 @@ export namespace Gee {
3505
3495
  get isFull(): boolean;
3506
3496
 
3507
3497
  // Inherited methods
3508
- offer(element?: any | null): boolean;
3498
+ offer(element: any): boolean;
3509
3499
  peek(): any | null;
3510
3500
  poll(): any | null;
3511
3501
  drain(recipient: Collection, amount: number): number;
3512
3502
  get_capacity(): number;
3513
3503
  get_remaining_capacity(): number;
3514
3504
  get_is_full(): boolean;
3515
- vfunc_offer(element?: any | null): boolean;
3505
+ vfunc_offer(element: any): boolean;
3516
3506
  vfunc_peek(): any | null;
3517
3507
  vfunc_poll(): any | null;
3518
3508
  vfunc_drain(recipient: Collection, amount: number): number;
3519
3509
  vfunc_get_capacity(): number;
3520
3510
  vfunc_get_remaining_capacity(): number;
3521
3511
  vfunc_get_is_full(): boolean;
3522
- offer_head(element?: any | null): boolean;
3512
+ offer_head(element: any): boolean;
3523
3513
  peek_head(): any | null;
3524
3514
  poll_head(): any | null;
3525
3515
  drain_head(recipient: Collection, amount: number): number;
3526
- offer_tail(element?: any | null): boolean;
3516
+ offer_tail(element: any): boolean;
3527
3517
  peek_tail(): any | null;
3528
3518
  poll_tail(): any | null;
3529
3519
  drain_tail(recipient: Collection, amount: number): number;
3530
- vfunc_offer_head(element?: any | null): boolean;
3520
+ vfunc_offer_head(element: any): boolean;
3531
3521
  vfunc_peek_head(): any | null;
3532
3522
  vfunc_poll_head(): any | null;
3533
3523
  vfunc_drain_head(recipient: Collection, amount: number): number;
3534
- vfunc_offer_tail(element?: any | null): boolean;
3524
+ vfunc_offer_tail(element: any): boolean;
3535
3525
  vfunc_peek_tail(): any | null;
3536
3526
  vfunc_poll_tail(): any | null;
3537
3527
  vfunc_drain_tail(recipient: Collection, amount: number): number;
@@ -3591,16 +3581,16 @@ export namespace Gee {
3591
3581
 
3592
3582
  // Own virtual methods of Gee.MapEntry
3593
3583
 
3594
- vfunc_get_key(): any | null;
3595
- vfunc_get_value(): any | null;
3596
- vfunc_set_value(value?: any | null): void;
3584
+ vfunc_get_key(): any;
3585
+ vfunc_get_value(): any;
3586
+ vfunc_set_value(value: any): void;
3597
3587
  vfunc_get_read_only(): boolean;
3598
3588
 
3599
3589
  // Own methods of Gee.MapEntry
3600
3590
 
3601
- get_key(): any | null;
3602
- get_value(): any | null;
3603
- set_value(value?: any | null): void;
3591
+ get_key(): any;
3592
+ get_value(): any;
3593
+ set_value(value: any): void;
3604
3594
  get_read_only(): boolean;
3605
3595
  }
3606
3596
 
@@ -3848,7 +3838,7 @@ export namespace Gee {
3848
3838
 
3849
3839
  // Own methods of Gee.HazardPointer
3850
3840
 
3851
- get(other_thread: boolean): any | null;
3841
+ get(other_thread: boolean): any;
3852
3842
  release(): void;
3853
3843
  }
3854
3844
 
@@ -4057,11 +4047,11 @@ export namespace Gee {
4057
4047
  interface BidirListIterator extends BidirIterator {
4058
4048
  // Own methods of Gee.BidirListIterator
4059
4049
 
4060
- insert(item?: any | null): void;
4050
+ insert(item: any): void;
4061
4051
 
4062
4052
  // Own virtual methods of Gee.BidirListIterator
4063
4053
 
4064
- vfunc_insert(item?: any | null): void;
4054
+ vfunc_insert(item: any): void;
4065
4055
  }
4066
4056
 
4067
4057
  export const BidirListIterator: BidirListIteratorNamespace;
@@ -4196,9 +4186,9 @@ export namespace Gee {
4196
4186
 
4197
4187
  // Own methods of Gee.Collection
4198
4188
 
4199
- contains(item?: any | null): boolean;
4200
- add(item?: any | null): boolean;
4201
- remove(item?: any | null): boolean;
4189
+ contains(item: any): boolean;
4190
+ add(item: any): boolean;
4191
+ remove(item: any): boolean;
4202
4192
  clear(): void;
4203
4193
  add_all(collection: Collection): boolean;
4204
4194
  contains_all(collection: Collection): boolean;
@@ -4218,9 +4208,9 @@ export namespace Gee {
4218
4208
 
4219
4209
  // Own virtual methods of Gee.Collection
4220
4210
 
4221
- vfunc_contains(item?: any | null): boolean;
4222
- vfunc_add(item?: any | null): boolean;
4223
- vfunc_remove(item?: any | null): boolean;
4211
+ vfunc_contains(item: any): boolean;
4212
+ vfunc_add(item: any): boolean;
4213
+ vfunc_remove(item: any): boolean;
4224
4214
  vfunc_clear(): void;
4225
4215
  vfunc_add_all(collection: Collection): boolean;
4226
4216
  vfunc_contains_all(collection: Collection): boolean;
@@ -4254,11 +4244,11 @@ export namespace Gee {
4254
4244
  interface Comparable extends GObject.Object {
4255
4245
  // Own methods of Gee.Comparable
4256
4246
 
4257
- compare_to(object?: any | null): number;
4247
+ compare_to(object: any): number;
4258
4248
 
4259
4249
  // Own virtual methods of Gee.Comparable
4260
4250
 
4261
- vfunc_compare_to(object?: any | null): number;
4251
+ vfunc_compare_to(object: any): number;
4262
4252
  }
4263
4253
 
4264
4254
  export const Comparable: ComparableNamespace;
@@ -4276,22 +4266,22 @@ export namespace Gee {
4276
4266
  interface Deque extends Queue {
4277
4267
  // Own methods of Gee.Deque
4278
4268
 
4279
- offer_head(element?: any | null): boolean;
4269
+ offer_head(element: any): boolean;
4280
4270
  peek_head(): any | null;
4281
4271
  poll_head(): any | null;
4282
4272
  drain_head(recipient: Collection, amount: number): number;
4283
- offer_tail(element?: any | null): boolean;
4273
+ offer_tail(element: any): boolean;
4284
4274
  peek_tail(): any | null;
4285
4275
  poll_tail(): any | null;
4286
4276
  drain_tail(recipient: Collection, amount: number): number;
4287
4277
 
4288
4278
  // Own virtual methods of Gee.Deque
4289
4279
 
4290
- vfunc_offer_head(element?: any | null): boolean;
4280
+ vfunc_offer_head(element: any): boolean;
4291
4281
  vfunc_peek_head(): any | null;
4292
4282
  vfunc_poll_head(): any | null;
4293
4283
  vfunc_drain_head(recipient: Collection, amount: number): number;
4294
- vfunc_offer_tail(element?: any | null): boolean;
4284
+ vfunc_offer_tail(element: any): boolean;
4295
4285
  vfunc_peek_tail(): any | null;
4296
4286
  vfunc_poll_tail(): any | null;
4297
4287
  vfunc_drain_tail(recipient: Collection, amount: number): number;
@@ -4306,8 +4296,8 @@ export namespace Gee {
4306
4296
  a_dup_func: GObject.BoxedCopyFunc,
4307
4297
  g_type: GObject.GType,
4308
4298
  g_dup_func: GObject.BoxedCopyFunc,
4309
- value?: any | null,
4310
- ): any | null;
4299
+ value: any,
4300
+ ): any;
4311
4301
  }
4312
4302
  interface LightMapFunc {
4313
4303
  (
@@ -4315,8 +4305,8 @@ export namespace Gee {
4315
4305
  a_dup_func: GObject.BoxedCopyFunc,
4316
4306
  g_type: GObject.GType,
4317
4307
  g_dup_func: GObject.BoxedCopyFunc,
4318
- value?: any | null,
4319
- ): any | null;
4308
+ value: any,
4309
+ ): any;
4320
4310
  }
4321
4311
  interface ZipFunc {
4322
4312
  (
@@ -4326,9 +4316,9 @@ export namespace Gee {
4326
4316
  b_dup_func: GObject.BoxedCopyFunc,
4327
4317
  c_type: GObject.GType,
4328
4318
  c_dup_func: GObject.BoxedCopyFunc,
4329
- a?: any | null,
4330
- b?: any | null,
4331
- ): any | null;
4319
+ a: any,
4320
+ b: any,
4321
+ ): any;
4332
4322
  }
4333
4323
  interface FlatMapFunc {
4334
4324
  (
@@ -4336,7 +4326,7 @@ export namespace Gee {
4336
4326
  a_dup_func: GObject.BoxedCopyFunc,
4337
4327
  g_type: GObject.GType,
4338
4328
  g_dup_func: GObject.BoxedCopyFunc,
4339
- value?: any | null,
4329
+ value: any,
4340
4330
  ): Future;
4341
4331
  }
4342
4332
 
@@ -4360,10 +4350,10 @@ export namespace Gee {
4360
4350
 
4361
4351
  // Own methods of Gee.Future
4362
4352
 
4363
- wait(): any | null;
4353
+ wait(): any;
4364
4354
  wait_until(end_time: number): [boolean, any];
4365
4355
  wait_async(_callback_?: Gio.AsyncReadyCallback<this> | null): void;
4366
- wait_finish(_res_: Gio.AsyncResult): any | null;
4356
+ wait_finish(_res_: Gio.AsyncResult): any;
4367
4357
  map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, func: MapFunc): Future;
4368
4358
  light_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, func: Future.LightMapFunc): Future;
4369
4359
  light_map_broken(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, func: Future.LightMapFunc): Future;
@@ -4382,10 +4372,10 @@ export namespace Gee {
4382
4372
 
4383
4373
  // Own virtual methods of Gee.Future
4384
4374
 
4385
- vfunc_wait(): any | null;
4375
+ vfunc_wait(): any;
4386
4376
  vfunc_wait_until(end_time: number): [boolean, any];
4387
4377
  vfunc_wait_async(_callback_?: Gio.AsyncReadyCallback<this> | null): void;
4388
- vfunc_wait_finish(_res_: Gio.AsyncResult): any | null;
4378
+ vfunc_wait_finish(_res_: Gio.AsyncResult): any;
4389
4379
  vfunc_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, func: MapFunc): Future;
4390
4380
  vfunc_light_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, func: Future.LightMapFunc): Future;
4391
4381
  vfunc_light_map_broken(
@@ -4423,12 +4413,12 @@ export namespace Gee {
4423
4413
  // Own methods of Gee.Hashable
4424
4414
 
4425
4415
  hash(): number;
4426
- equal_to(object?: any | null): boolean;
4416
+ equal_to(object: any): boolean;
4427
4417
 
4428
4418
  // Own virtual methods of Gee.Hashable
4429
4419
 
4430
4420
  vfunc_hash(): number;
4431
- vfunc_equal_to(object?: any | null): boolean;
4421
+ vfunc_equal_to(object: any): boolean;
4432
4422
  }
4433
4423
 
4434
4424
  export const Hashable: HashableNamespace;
@@ -4488,7 +4478,7 @@ export namespace Gee {
4488
4478
 
4489
4479
  next(): boolean;
4490
4480
  has_next(): boolean;
4491
- get(): any | null;
4481
+ get(): any;
4492
4482
  remove(): void;
4493
4483
  get_valid(): boolean;
4494
4484
  get_read_only(): boolean;
@@ -4497,7 +4487,7 @@ export namespace Gee {
4497
4487
 
4498
4488
  vfunc_next(): boolean;
4499
4489
  vfunc_has_next(): boolean;
4500
- vfunc_get(): any | null;
4490
+ vfunc_get(): any;
4501
4491
  vfunc_remove(): void;
4502
4492
  vfunc_get_valid(): boolean;
4503
4493
  vfunc_get_read_only(): boolean;
@@ -4529,16 +4519,16 @@ export namespace Gee {
4529
4519
  // Own methods of Gee.List
4530
4520
 
4531
4521
  list_iterator(): ListIterator;
4532
- get(index: number): any | null;
4533
- set(index: number, item?: any | null): void;
4522
+ get(index: number): any;
4523
+ set(index: number, item: any): void;
4534
4524
  // Conflicted with GObject.Object.set
4535
4525
  set(...args: never[]): any;
4536
- index_of(item?: any | null): number;
4537
- insert(index: number, item?: any | null): void;
4538
- remove_at(index: number): any | null;
4526
+ index_of(item: any): number;
4527
+ insert(index: number, item: any): void;
4528
+ remove_at(index: number): any;
4539
4529
  slice(start: number, stop: number): List | null;
4540
- first(): any | null;
4541
- last(): any | null;
4530
+ first(): any;
4531
+ last(): any;
4542
4532
  insert_all(index: number, collection: Collection): void;
4543
4533
  sort(compare_func?: GLib.CompareDataFunc | null): void;
4544
4534
  get_read_only_view(): List;
@@ -4546,14 +4536,14 @@ export namespace Gee {
4546
4536
  // Own virtual methods of Gee.List
4547
4537
 
4548
4538
  vfunc_list_iterator(): ListIterator;
4549
- vfunc_get(index: number): any | null;
4550
- vfunc_set(index: number, item?: any | null): void;
4551
- vfunc_index_of(item?: any | null): number;
4552
- vfunc_insert(index: number, item?: any | null): void;
4553
- vfunc_remove_at(index: number): any | null;
4539
+ vfunc_get(index: number): any;
4540
+ vfunc_set(index: number, item: any): void;
4541
+ vfunc_index_of(item: any): number;
4542
+ vfunc_insert(index: number, item: any): void;
4543
+ vfunc_remove_at(index: number): any;
4554
4544
  vfunc_slice(start: number, stop: number): List | null;
4555
- vfunc_first(): any | null;
4556
- vfunc_last(): any | null;
4545
+ vfunc_first(): any;
4546
+ vfunc_last(): any;
4557
4547
  vfunc_insert_all(index: number, collection: Collection): void;
4558
4548
  vfunc_sort(compare_func?: GLib.CompareDataFunc | null): void;
4559
4549
  vfunc_get_read_only_view(): List;
@@ -4574,16 +4564,16 @@ export namespace Gee {
4574
4564
  interface ListIterator extends Iterator {
4575
4565
  // Own methods of Gee.ListIterator
4576
4566
 
4577
- set(item?: any | null): void;
4567
+ set(item: any): void;
4578
4568
  // Conflicted with GObject.Object.set
4579
4569
  set(...args: never[]): any;
4580
- add(item?: any | null): void;
4570
+ add(item: any): void;
4581
4571
  index(): number;
4582
4572
 
4583
4573
  // Own virtual methods of Gee.ListIterator
4584
4574
 
4585
- vfunc_set(item?: any | null): void;
4586
- vfunc_add(item?: any | null): void;
4575
+ vfunc_set(item: any): void;
4576
+ vfunc_add(item: any): void;
4587
4577
  vfunc_index(): number;
4588
4578
  }
4589
4579
 
@@ -4629,15 +4619,15 @@ export namespace Gee {
4629
4619
 
4630
4620
  // Own methods of Gee.Map
4631
4621
 
4632
- has_key(key?: any | null): boolean;
4633
- contains(key?: any | null): boolean;
4634
- has(key?: any | null, value?: any | null): boolean;
4635
- get(key?: any | null): any | null;
4636
- set(key?: any | null, value?: any | null): void;
4622
+ has_key(key: any): boolean;
4623
+ contains(key: any): boolean;
4624
+ has(key: any, value: any): boolean;
4625
+ get(key: any): any | null;
4626
+ set(key: any, value: any): void;
4637
4627
  // Conflicted with GObject.Object.set
4638
4628
  set(...args: never[]): any;
4639
- unset(key: any | null): [boolean, any];
4640
- remove(key: any | null): [boolean, any];
4629
+ unset(key: any): [boolean, any];
4630
+ remove(key: any): [boolean, any];
4641
4631
  clear(): void;
4642
4632
  map_iterator(): MapIterator;
4643
4633
  set_all(map: Map): void;
@@ -4657,11 +4647,11 @@ export namespace Gee {
4657
4647
 
4658
4648
  // Own virtual methods of Gee.Map
4659
4649
 
4660
- vfunc_has_key(key?: any | null): boolean;
4661
- vfunc_has(key?: any | null, value?: any | null): boolean;
4662
- vfunc_get(key?: any | null): any | null;
4663
- vfunc_set(key?: any | null, value?: any | null): void;
4664
- vfunc_unset(key: any | null): [boolean, any];
4650
+ vfunc_has_key(key: any): boolean;
4651
+ vfunc_has(key: any, value: any): boolean;
4652
+ vfunc_get(key: any): any | null;
4653
+ vfunc_set(key: any, value: any): void;
4654
+ vfunc_unset(key: any): [boolean, any];
4665
4655
  vfunc_clear(): void;
4666
4656
  vfunc_map_iterator(): MapIterator;
4667
4657
  vfunc_set_all(map: Map): void;
@@ -4705,11 +4695,11 @@ export namespace Gee {
4705
4695
 
4706
4696
  next(): boolean;
4707
4697
  has_next(): boolean;
4708
- get_key(): any | null;
4709
- get_value(): any | null;
4710
- set_value(value?: any | null): void;
4698
+ get_key(): any;
4699
+ get_value(): any;
4700
+ set_value(value: any): void;
4711
4701
  unset(): void;
4712
- fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldMapFunc, seed?: any | null): any | null;
4702
+ fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldMapFunc, seed: any): any;
4713
4703
  foreach(f: ForallMapFunc): boolean;
4714
4704
  get_valid(): boolean;
4715
4705
  get_mutable(): boolean;
@@ -4719,16 +4709,11 @@ export namespace Gee {
4719
4709
 
4720
4710
  vfunc_next(): boolean;
4721
4711
  vfunc_has_next(): boolean;
4722
- vfunc_get_key(): any | null;
4723
- vfunc_get_value(): any | null;
4724
- vfunc_set_value(value?: any | null): void;
4712
+ vfunc_get_key(): any;
4713
+ vfunc_get_value(): any;
4714
+ vfunc_set_value(value: any): void;
4725
4715
  vfunc_unset(): void;
4726
- vfunc_fold(
4727
- a_type: GObject.GType,
4728
- a_dup_func: GObject.BoxedCopyFunc,
4729
- f: FoldMapFunc,
4730
- seed?: any | null,
4731
- ): any | null;
4716
+ vfunc_fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldMapFunc, seed: any): any;
4732
4717
  vfunc_foreach(f: ForallMapFunc): boolean;
4733
4718
  vfunc_get_valid(): boolean;
4734
4719
  vfunc_get_mutable(): boolean;
@@ -4763,13 +4748,13 @@ export namespace Gee {
4763
4748
  get_keys(): Set;
4764
4749
  get_all_keys(): MultiSet;
4765
4750
  get_values(): Collection;
4766
- contains(key?: any | null): boolean;
4767
- get(key?: any | null): Collection;
4768
- set(key?: any | null, value?: any | null): void;
4751
+ contains(key: any): boolean;
4752
+ get(key: any): Collection;
4753
+ set(key: any, value: any): void;
4769
4754
  // Conflicted with GObject.Object.set
4770
4755
  set(...args: never[]): any;
4771
- remove(key?: any | null, value?: any | null): boolean;
4772
- remove_all(key?: any | null): boolean;
4756
+ remove(key: any, value: any): boolean;
4757
+ remove_all(key: any): boolean;
4773
4758
  clear(): void;
4774
4759
  map_iterator(): MapIterator;
4775
4760
  get_size(): number;
@@ -4783,11 +4768,11 @@ export namespace Gee {
4783
4768
  vfunc_get_keys(): Set;
4784
4769
  vfunc_get_all_keys(): MultiSet;
4785
4770
  vfunc_get_values(): Collection;
4786
- vfunc_contains(key?: any | null): boolean;
4787
- vfunc_get(key?: any | null): Collection;
4788
- vfunc_set(key?: any | null, value?: any | null): void;
4789
- vfunc_remove(key?: any | null, value?: any | null): boolean;
4790
- vfunc_remove_all(key?: any | null): boolean;
4771
+ vfunc_contains(key: any): boolean;
4772
+ vfunc_get(key: any): Collection;
4773
+ vfunc_set(key: any, value: any): void;
4774
+ vfunc_remove(key: any, value: any): boolean;
4775
+ vfunc_remove_all(key: any): boolean;
4791
4776
  vfunc_clear(): void;
4792
4777
  vfunc_map_iterator(): MapIterator;
4793
4778
  vfunc_get_size(): number;
@@ -4812,12 +4797,12 @@ export namespace Gee {
4812
4797
  interface MultiSet extends Collection {
4813
4798
  // Own methods of Gee.MultiSet
4814
4799
 
4815
- count(item?: any | null): number;
4800
+ count(item: any): number;
4816
4801
  get_read_only_view(): MultiSet;
4817
4802
 
4818
4803
  // Own virtual methods of Gee.MultiSet
4819
4804
 
4820
- vfunc_count(item?: any | null): number;
4805
+ vfunc_count(item: any): number;
4821
4806
  vfunc_get_read_only_view(): MultiSet;
4822
4807
  }
4823
4808
 
@@ -4850,7 +4835,7 @@ export namespace Gee {
4850
4835
 
4851
4836
  // Own methods of Gee.Queue
4852
4837
 
4853
- offer(element?: any | null): boolean;
4838
+ offer(element: any): boolean;
4854
4839
  peek(): any | null;
4855
4840
  poll(): any | null;
4856
4841
  drain(recipient: Collection, amount: number): number;
@@ -4860,7 +4845,7 @@ export namespace Gee {
4860
4845
 
4861
4846
  // Own virtual methods of Gee.Queue
4862
4847
 
4863
- vfunc_offer(element?: any | null): boolean;
4848
+ vfunc_offer(element: any): boolean;
4864
4849
  vfunc_peek(): any | null;
4865
4850
  vfunc_poll(): any | null;
4866
4851
  vfunc_drain(recipient: Collection, amount: number): number;
@@ -4939,18 +4924,18 @@ export namespace Gee {
4939
4924
 
4940
4925
  // Own methods of Gee.SortedMap
4941
4926
 
4942
- head_map(before?: any | null): SortedMap;
4943
- tail_map(after?: any | null): SortedMap;
4944
- sub_map(before?: any | null, after?: any | null): SortedMap;
4927
+ head_map(before: any): SortedMap;
4928
+ tail_map(after: any): SortedMap;
4929
+ sub_map(before: any, after: any): SortedMap;
4945
4930
  get_ascending_keys(): SortedSet;
4946
4931
  get_ascending_entries(): SortedSet;
4947
4932
  get_read_only_view(): SortedMap;
4948
4933
 
4949
4934
  // Own virtual methods of Gee.SortedMap
4950
4935
 
4951
- vfunc_head_map(before?: any | null): SortedMap;
4952
- vfunc_tail_map(after?: any | null): SortedMap;
4953
- vfunc_sub_map(before?: any | null, after?: any | null): SortedMap;
4936
+ vfunc_head_map(before: any): SortedMap;
4937
+ vfunc_tail_map(after: any): SortedMap;
4938
+ vfunc_sub_map(before: any, after: any): SortedMap;
4954
4939
  vfunc_get_ascending_keys(): SortedSet;
4955
4940
  vfunc_get_ascending_entries(): SortedSet;
4956
4941
  vfunc_get_read_only_view(): SortedMap;
@@ -4981,30 +4966,30 @@ export namespace Gee {
4981
4966
 
4982
4967
  // Own methods of Gee.SortedSet
4983
4968
 
4984
- first(): any | null;
4985
- last(): any | null;
4986
- iterator_at(element?: any | null): Iterator | null;
4987
- lower(element?: any | null): any | null;
4988
- higher(element?: any | null): any | null;
4989
- floor(element?: any | null): any | null;
4990
- ceil(element?: any | null): any | null;
4991
- head_set(before?: any | null): SortedSet;
4992
- tail_set(after?: any | null): SortedSet;
4993
- sub_set(from?: any | null, to?: any | null): SortedSet;
4969
+ first(): any;
4970
+ last(): any;
4971
+ iterator_at(element: any): Iterator | null;
4972
+ lower(element: any): any | null;
4973
+ higher(element: any): any | null;
4974
+ floor(element: any): any | null;
4975
+ ceil(element: any): any | null;
4976
+ head_set(before: any): SortedSet;
4977
+ tail_set(after: any): SortedSet;
4978
+ sub_set(from: any, to: any): SortedSet;
4994
4979
  get_read_only_view(): SortedSet;
4995
4980
 
4996
4981
  // Own virtual methods of Gee.SortedSet
4997
4982
 
4998
- vfunc_first(): any | null;
4999
- vfunc_last(): any | null;
5000
- vfunc_iterator_at(element?: any | null): Iterator | null;
5001
- vfunc_lower(element?: any | null): any | null;
5002
- vfunc_higher(element?: any | null): any | null;
5003
- vfunc_floor(element?: any | null): any | null;
5004
- vfunc_ceil(element?: any | null): any | null;
5005
- vfunc_head_set(before?: any | null): SortedSet;
5006
- vfunc_tail_set(after?: any | null): SortedSet;
5007
- vfunc_sub_set(from?: any | null, to?: any | null): SortedSet;
4983
+ vfunc_first(): any;
4984
+ vfunc_last(): any;
4985
+ vfunc_iterator_at(element: any): Iterator | null;
4986
+ vfunc_lower(element: any): any | null;
4987
+ vfunc_higher(element: any): any | null;
4988
+ vfunc_floor(element: any): any | null;
4989
+ vfunc_ceil(element: any): any | null;
4990
+ vfunc_head_set(before: any): SortedSet;
4991
+ vfunc_tail_set(after: any): SortedSet;
4992
+ vfunc_sub_set(from: any, to: any): SortedSet;
5008
4993
  vfunc_get_read_only_view(): SortedSet;
5009
4994
  }
5010
4995
 
@@ -5025,9 +5010,9 @@ export namespace Gee {
5025
5010
 
5026
5011
  foreach(f: ForallFunc): boolean;
5027
5012
  stream(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: StreamFunc): Iterator;
5028
- fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed?: any | null): any | null;
5013
+ fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed: any): any;
5029
5014
  map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: MapFunc): Iterator;
5030
- scan(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed?: any | null): Iterator;
5015
+ scan(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed: any): Iterator;
5031
5016
  filter(pred: Predicate): Iterator;
5032
5017
  chop(offset: number, length: number): Iterator;
5033
5018
  flat_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FlatMapFunc): Iterator;
@@ -5035,8 +5020,8 @@ export namespace Gee {
5035
5020
  first_match(pred: Predicate): any | null;
5036
5021
  any_match(pred: Predicate): boolean;
5037
5022
  all_match(pred: Predicate): boolean;
5038
- max(compare: GLib.CompareDataFunc): any | null;
5039
- min(compare: GLib.CompareDataFunc): any | null;
5023
+ max(compare: GLib.CompareDataFunc): any;
5024
+ min(compare: GLib.CompareDataFunc): any;
5040
5025
  order_by(compare?: GLib.CompareDataFunc | null): Iterator;
5041
5026
  get_element_type(): GObject.GType;
5042
5027
 
@@ -5044,14 +5029,9 @@ export namespace Gee {
5044
5029
 
5045
5030
  vfunc_foreach(f: ForallFunc): boolean;
5046
5031
  vfunc_stream(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: StreamFunc): Iterator;
5047
- vfunc_fold(
5048
- a_type: GObject.GType,
5049
- a_dup_func: GObject.BoxedCopyFunc,
5050
- f: FoldFunc,
5051
- seed?: any | null,
5052
- ): any | null;
5032
+ vfunc_fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed: any): any;
5053
5033
  vfunc_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: MapFunc): Iterator;
5054
- vfunc_scan(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed?: any | null): Iterator;
5034
+ vfunc_scan(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FoldFunc, seed: any): Iterator;
5055
5035
  vfunc_filter(pred: Predicate): Iterator;
5056
5036
  vfunc_chop(offset: number, length: number): Iterator;
5057
5037
  vfunc_flat_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, f: FlatMapFunc): Iterator;
@@ -5059,8 +5039,8 @@ export namespace Gee {
5059
5039
  vfunc_first_match(pred: Predicate): any | null;
5060
5040
  vfunc_any_match(pred: Predicate): boolean;
5061
5041
  vfunc_all_match(pred: Predicate): boolean;
5062
- vfunc_max(compare: GLib.CompareDataFunc): any | null;
5063
- vfunc_min(compare: GLib.CompareDataFunc): any | null;
5042
+ vfunc_max(compare: GLib.CompareDataFunc): any;
5043
+ vfunc_min(compare: GLib.CompareDataFunc): any;
5064
5044
  vfunc_order_by(compare?: GLib.CompareDataFunc | null): Iterator;
5065
5045
  vfunc_get_element_type(): GObject.GType;
5066
5046
  }