diff --git a/packages/react-native-codegen/src/parsers/flow/components/__test_fixtures__/fixtures.js b/packages/react-native-codegen/src/parsers/flow/components/__test_fixtures__/fixtures.js index c597a2d1f5dfc9..f54f2bced88744 100644 --- a/packages/react-native-codegen/src/parsers/flow/components/__test_fixtures__/fixtures.js +++ b/packages/react-native-codegen/src/parsers/flow/components/__test_fixtures__/fixtures.js @@ -871,13 +871,13 @@ type NativeType = HostComponent; interface NativeCommands { +handleRootTag: (viewRef: React.ElementRef, rootTag: RootTag) => void; +hotspotUpdate: (viewRef: React.ElementRef, x: Int32, y: Int32) => void; - +scrollTo: ( + scrollTo( viewRef: React.ElementRef, x: Float, y: Int32, z: Double, animated: boolean, - ) => void; + ): void; } export const Commands = codegenNativeCommands({ diff --git a/packages/react-native-codegen/src/parsers/flow/modules/__test_fixtures__/fixtures.js b/packages/react-native-codegen/src/parsers/flow/modules/__test_fixtures__/fixtures.js index e8668947ce28c1..151bb480daabfe 100644 --- a/packages/react-native-codegen/src/parsers/flow/modules/__test_fixtures__/fixtures.js +++ b/packages/react-native-codegen/src/parsers/flow/modules/__test_fixtures__/fixtures.js @@ -591,7 +591,7 @@ export enum StringOptions { } export interface Spec extends TurboModule { - +getEnums: (quality: Quality, resolution?: Resolution, floppy: Floppy, stringOptions: StringOptions) => string; + getEnums(quality: Quality, resolution?: Resolution, floppy: Floppy, stringOptions: StringOptions): string; } export default TurboModuleRegistry.getEnforcing('SampleTurboModuleIOS');