@react-native/codegen 0.90.0-nightly-20261120-bbfd39149 → 0.90.0-nightly-20261122-d6ea9fc1e
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.
|
@@ -182,7 +182,7 @@ function findEventArgumentsAndType(
|
|
|
182
182
|
parser: Parser,
|
|
183
183
|
typeAnnotation: $FlowFixMe,
|
|
184
184
|
types: TypeMap,
|
|
185
|
-
bubblingType:
|
|
185
|
+
bubblingType: ?('direct' | 'bubble'),
|
|
186
186
|
paperName: ?$FlowFixMe,
|
|
187
187
|
): EventArgumentReturnType {
|
|
188
188
|
throwIfEventHasNoName(typeAnnotation, parser);
|
|
@@ -1332,7 +1332,7 @@ function handleEventHandler(
|
|
|
1332
1332
|
parser: Parser,
|
|
1333
1333
|
typeAnnotation: $FlowFixMe,
|
|
1334
1334
|
types: TypeDeclarationMap,
|
|
1335
|
-
bubblingType:
|
|
1335
|
+
bubblingType: ?('direct' | 'bubble'),
|
|
1336
1336
|
paperName: ?$FlowFixMe,
|
|
1337
1337
|
) => EventArgumentReturnType,
|
|
1338
1338
|
): EventArgumentReturnType {
|
|
@@ -175,7 +175,7 @@ function findEventArgumentsAndType(
|
|
|
175
175
|
parser: Parser,
|
|
176
176
|
typeAnnotation: $FlowFixMe,
|
|
177
177
|
types: TypeDeclarationMap,
|
|
178
|
-
bubblingType:
|
|
178
|
+
bubblingType: ?('direct' | 'bubble'),
|
|
179
179
|
paperName: ?$FlowFixMe,
|
|
180
180
|
): {
|
|
181
181
|
argumentProps: ?ReadonlyArray<$FlowFixMe>,
|