diff --git a/packages/react-native-codegen/src/CodegenSchema.js b/packages/react-native-codegen/src/CodegenSchema.js index e6383eb72cec45..8bd4fc0a214d30 100644 --- a/packages/react-native-codegen/src/CodegenSchema.js +++ b/packages/react-native-codegen/src/CodegenSchema.js @@ -431,4 +431,8 @@ export type CompleteTypeAnnotation = | NullableTypeAnnotation | EventEmitterTypeAnnotation | NativeModuleEnumDeclarationWithMembers - | UnsafeAnyTypeAnnotation; + | UnsafeAnyTypeAnnotation + // Native Module event emitters and methods + | ObjectTypeAnnotation< + Nullable | EventEmitterTypeAnnotation, + >;