diff --git a/React/Base/RCTComponentEvent.h b/React/Base/RCTComponentEvent.h index 78ee9bb586a..28c94074c57 100644 --- a/React/Base/RCTComponentEvent.h +++ b/React/Base/RCTComponentEvent.h @@ -7,6 +7,8 @@ #import +NS_ASSUME_NONNULL_BEGIN + /** * Generic untyped event for Components. Used internally by RCTDirectEventBlock and * RCTBubblingEventBlock, for other use cases prefer using a class that implements @@ -16,4 +18,6 @@ - (instancetype)initWithName:(NSString *)name viewTag:(NSNumber *)viewTag body:(NSDictionary *)body; +NS_ASSUME_NONNULL_END + @end