Skip to content

Commit accf52e

Browse files
committed
Change type to satisfy babel-preset-expo in RN73
1 parent ddbf008 commit accf52e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RNCWebViewNativeComponent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export interface NativeCommands {
270270
clearCache: (viewRef: React.ElementRef<HostComponent<NativeProps>>, includeDiskFiles: boolean) => void;
271271
clearHistory: (viewRef: React.ElementRef<HostComponent<NativeProps>>) => void;
272272
// !Android Only
273-
setTintColor: (viewRef: React.ElementRef<HostComponent<NativeProps>>, red: number, blue: number, green: number, alpha: number) => void;
273+
setTintColor: (viewRef: React.ElementRef<HostComponent<NativeProps>>, red: Double, blue: Double, green: Double, alpha: Double) => void;
274274
}
275275

276276
export const Commands = codegenNativeCommands<NativeCommands>({

0 commit comments

Comments
 (0)