mirror of
https://github.com/zhigang1992/react-native-reanimated.git
synced 2026-04-28 20:35:09 +08:00
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:
committed by
Michał Osadnik
parent
b9f5bb2a8d
commit
76e5cd465e
2
react-native-reanimated.d.ts
vendored
2
react-native-reanimated.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user