Add nonnull to type

This commit is contained in:
Akshet Pandey 2017-05-19 20:26:23 -07:00
parent fdf60444fe
commit ede85d7717
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ RCT_EXPORT_METHOD(fetch:(RCTPromiseResolveBlock)resolve
}];
}
RCT_EXPORT_METHOD(fetchWithExpirationDuration:(NSNumber *)expirationDuration
RCT_EXPORT_METHOD(fetchWithExpirationDuration:(nonnull NSNumber *)expirationDuration
resolver:(RCTPromiseResolveBlock)resolve
rejecter:(RCTPromiseRejectBlock)reject)
{