We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e10c07d commit 4c37431Copy full SHA for 4c37431
packages/react-native-codegen/src/CodegenSchema.js
@@ -71,7 +71,7 @@ export type MixedTypeAnnotation = $ReadOnly<{
71
type: 'MixedTypeAnnotation',
72
}>;
73
74
-type EventEmitterTypeAnnotation = $ReadOnly<{
+export type EventEmitterTypeAnnotation = $ReadOnly<{
75
type: 'EventEmitterTypeAnnotation',
76
typeAnnotation: NativeModuleEventEmitterTypeAnnotation | $FlowFixMe,
77
@@ -424,4 +424,5 @@ export type CompleteTypeAnnotation =
424
| NativeModuleTypeAnnotation
425
| NativeModuleFunctionTypeAnnotation
426
| NullableTypeAnnotation<NativeModuleTypeAnnotation>
427
+ | EventEmitterTypeAnnotation
428
| UnsafeAnyTypeAnnotation;
0 commit comments