diff --git a/types/public/ReactNativeRenderer.d.ts b/types/public/ReactNativeRenderer.d.ts index 542788c77b5b73..eb136cbc399649 100644 --- a/types/public/ReactNativeRenderer.d.ts +++ b/types/public/ReactNativeRenderer.d.ts @@ -140,10 +140,5 @@ export interface GestureResponderHandlers { /** * React Native also implements unstable_batchedUpdates */ -export function unstable_batchedUpdates( - callback: (a: A, b: B) => any, - a: A, - b: B, -): void; -export function unstable_batchedUpdates(callback: (a: A) => any, a: A): void; -export function unstable_batchedUpdates(callback: () => any): void; +export function unstable_batchedUpdates(callback: (a: A) => R, a: A): R; +export function unstable_batchedUpdates(callback: () => R): R;