Skip to content

Commit

Permalink
fix(ios,fabric): fix set camera signature (#3387)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfazekas authored Feb 21, 2024
1 parent 76a7de3 commit b26b6db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ public NativeRNMBXCameraModuleSpec(ReactApplicationContext reactContext) {

@ReactMethod
@DoNotStrip
public abstract void updateCameraStop(@Nullable Double viewRef, ReadableMap stops, Promise promise);
public abstract void updateCameraStop(@Nullable Double viewRef, ReadableMap stop, Promise promise);
}
2 changes: 1 addition & 1 deletion src/specs/NativeRNMBXCameraModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type NativeAnimationMode = 'flight' | 'ease' | 'linear' | 'none' | 'move';
type ObjectOr<T> = Object;

export interface Spec extends TurboModule {
updateCameraStop(viewRef: ViewRef, stops: ObjectOr<Stop>): Promise<void>;
updateCameraStop(viewRef: ViewRef, stop: ObjectOr<Stop>): Promise<void>;
}

export default TurboModuleRegistry.getEnforcing<Spec>('RNMBXCameraModule');

0 comments on commit b26b6db

Please sign in to comment.