Skip to content

Commit

Permalink
The same test case for flow
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihanChen-MSFT committed Nov 11, 2022
1 parent b4d29cd commit b6fdd84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -871,13 +871,13 @@ type NativeType = HostComponent<ModuleProps>;
interface NativeCommands {
+handleRootTag: (viewRef: React.ElementRef<NativeType>, rootTag: RootTag) => void;
+hotspotUpdate: (viewRef: React.ElementRef<NativeType>, x: Int32, y: Int32) => void;
+scrollTo: (
scrollTo(
viewRef: React.ElementRef<NativeType>,
x: Float,
y: Int32,
z: Double,
animated: boolean,
) => void;
): void;
}
export const Commands = codegenNativeCommands<NativeCommands>({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Spec>('SampleTurboModuleIOS');
Expand Down

0 comments on commit b6fdd84

Please sign in to comment.