@@ -89,7 +89,7 @@ type ModuleProps = $ReadOnly<{|
89
89
...ViewProps,
90
90
91
91
// Props
92
- boolean_default_true_optional_both?: ? WithDefault<boolean, true>,
92
+ boolean_default_true_optional_both?: WithDefault<boolean, true>,
93
93
94
94
// Events
95
95
onDirectEventDefinedInlineNull: DirectEventHandler<null>,
@@ -160,48 +160,47 @@ type ModuleProps = $ReadOnly<{|
160
160
// Boolean props
161
161
boolean_required: boolean,
162
162
boolean_optional_key?: WithDefault<boolean, true>,
163
- boolean_optional_value: ? WithDefault<boolean, true>,
164
- boolean_optional_both?: ? WithDefault<boolean, true>,
163
+ boolean_optional_value: WithDefault<boolean, true>,
164
+ boolean_optional_both?: WithDefault<boolean, true>,
165
165
166
166
// String props
167
167
string_required: string,
168
168
string_optional_key?: WithDefault<string, ''>,
169
- string_optional_value: ? WithDefault<string, ''>,
170
- string_optional_both?: ? WithDefault<string, ''>,
169
+ string_optional_value: WithDefault<string, ''>,
170
+ string_optional_both?: WithDefault<string, ''>,
171
171
172
172
// String props, null default
173
173
string_null_optional_key?: WithDefault<string, null>,
174
- string_null_optional_value: ? WithDefault<string, null>,
175
- string_null_optional_both?: ? WithDefault<string, null>,
174
+ string_null_optional_value: WithDefault<string, null>,
175
+ string_null_optional_both?: WithDefault<string, null>,
176
176
177
177
// Stringish props
178
178
stringish_required: Stringish,
179
179
stringish_optional_key?: WithDefault<Stringish, ''>,
180
- stringish_optional_value: ? WithDefault<Stringish, ''>,
181
- stringish_optional_both?: ? WithDefault<Stringish, ''>,
180
+ stringish_optional_value: WithDefault<Stringish, ''>,
181
+ stringish_optional_both?: WithDefault<Stringish, ''>,
182
182
183
183
// Stringish props, null default
184
184
stringish_null_optional_key?: WithDefault<Stringish, null>,
185
- stringish_null_optional_value: ? WithDefault<Stringish, null>,
186
- stringish_null_optional_both?: ? WithDefault<Stringish, null>,
185
+ stringish_null_optional_value: WithDefault<Stringish, null>,
186
+ stringish_null_optional_both?: WithDefault<Stringish, null>,
187
187
188
188
// Float props
189
189
float_required: Float,
190
190
float_optional_key?: WithDefault<Float, 1.1>,
191
- float_optional_value: ? WithDefault<Float, 1.1>,
192
- float_optional_both?: ? WithDefault<Float, 1.1>,
191
+ float_optional_value: WithDefault<Float, 1.1>,
192
+ float_optional_both?: WithDefault<Float, 1.1>,
193
193
194
194
// Int32 props
195
195
int32_required: Int32,
196
196
int32_optional_key?: WithDefault<Int32, 1>,
197
- int32_optional_value: ? WithDefault<Int32, 1>,
198
- int32_optional_both?: ? WithDefault<Int32, 1>,
197
+ int32_optional_value: WithDefault<Int32, 1>,
198
+ int32_optional_both?: WithDefault<Int32, 1>,
199
199
200
200
// String enum props
201
- enum_required: WithDefault<('small' | 'large'), 'small'>,
202
201
enum_optional_key?: WithDefault<('small' | 'large'), 'small'>,
203
- enum_optional_value: ? WithDefault<('small' | 'large'), 'small'>,
204
- enum_optional_both?: ? WithDefault<('small' | 'large'), 'small'>,
202
+ enum_optional_value: WithDefault<('small' | 'large'), 'small'>,
203
+ enum_optional_both?: WithDefault<('small' | 'large'), 'small'>,
205
204
206
205
// ImageSource props
207
206
image_required: ImageSource,
@@ -284,10 +283,9 @@ type ModuleProps = $ReadOnly<{|
284
283
array_int32_optional_both?: ?$ReadOnlyArray<Int32>,
285
284
286
285
// String enum props
287
- array_enum_required: WithDefault<$ReadOnlyArray<('small' | 'large')>, 'small'>,
288
286
array_enum_optional_key?: WithDefault<$ReadOnlyArray<('small' | 'large')>, 'small'>,
289
- array_enum_optional_value: ? WithDefault<$ReadOnlyArray<('small' | 'large')>, 'small'>,
290
- array_enum_optional_both?: ? WithDefault<$ReadOnlyArray<('small' | 'large')>, 'small'>,
287
+ array_enum_optional_value: WithDefault<$ReadOnlyArray<('small' | 'large')>, 'small'>,
288
+ array_enum_optional_both?: WithDefault<$ReadOnlyArray<('small' | 'large')>, 'small'>,
291
289
292
290
// ImageSource props
293
291
array_image_required: $ReadOnlyArray<ImageSource>,
0 commit comments