From d8a02a2a4b5058f267fac9defe1dacd6ed81dd17 Mon Sep 17 00:00:00 2001 From: Krzysztof Piaskowy Date: Thu, 17 Jun 2021 16:36:35 +0200 Subject: [PATCH] Update type for AnimatedLayout --- src/reanimated2/layoutReanimation/AnimatedRoot.tsx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/reanimated2/layoutReanimation/AnimatedRoot.tsx b/src/reanimated2/layoutReanimation/AnimatedRoot.tsx index 851cff531d4..55df5af143c 100644 --- a/src/reanimated2/layoutReanimation/AnimatedRoot.tsx +++ b/src/reanimated2/layoutReanimation/AnimatedRoot.tsx @@ -12,17 +12,9 @@ if (Platform.OS === 'web' && !requireNativeComponent) { 'REALayoutView' ) as unknown) as React.Component; } -export interface REALayoutViewComponent { - props: { - collapsable?: boolean; - }; -} -export class AnimatedLayout extends React.Component< - Record, - Record -> { - render(): REALayoutViewComponent { +export class AnimatedLayout extends React.Component { + render(): React.ReactElement { return ; } }