Update react-native-reanimated.d.ts (#170)

This fixes a type error as an object in the left-hand position is considered a destructure of type `any`
This commit is contained in:
Cameron Knight
2019-01-16 13:11:39 -08:00
committed by Michał Osadnik
parent b9f5bb2a8d
commit 76e5cd465e

View File

@@ -80,7 +80,7 @@ declare module 'react-native-reanimated' {
deceleration: Adaptable<number>;
}
export interface BackwardCompatibleWrapper {
start: (callback : ({ finished: boolean }) => any) => void;
start: (callback : (data: { finished: boolean }) => any) => void;
stop: () => void;
}