Skip to content

Commit afa8ecf

Browse files
fix(RNViewShot.mm): captureRef nonnull tag (#549)
1 parent 95887f6 commit afa8ecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNViewShot.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ - (dispatch_queue_t)methodQueue
4545
}
4646
}
4747

48-
RCT_EXPORT_METHOD(captureRef:(NSNumber *)target
48+
RCT_EXPORT_METHOD(captureRef:(nonnull NSNumber *)target
4949
withOptions:(NSDictionary *)options
5050
resolve:(RCTPromiseResolveBlock)resolve
5151
reject:(RCTPromiseRejectBlock)reject)

0 commit comments

Comments
 (0)