Skip to content

Commit

Permalink
Fix NSInteger parameter types for length and position in read function
Browse files Browse the repository at this point in the history
  • Loading branch information
keithdmoore authored Feb 21, 2025
1 parent 64aa755 commit 49dc793
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RNFSManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ + (BOOL)requiresMainQueueSetup
}

RCT_EXPORT_METHOD(read:(NSString *)filepath
length: (NSInteger *)length
position: (NSInteger *)position
length: (NSInteger)length
position: (NSInteger)position
resolver:(RCTPromiseResolveBlock)resolve
rejecter:(RCTPromiseRejectBlock)reject)
{
Expand Down

0 comments on commit 49dc793

Please sign in to comment.