Skip to content

Commit

Permalink
Remove redundant ts-expect-error directives
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanshar committed Mar 30, 2021
1 parent 56c5801 commit eff3b21
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/components/tabController/TabBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import FadedScrollView from './FadedScrollView';

import {useScrollToItem} from '../../hooks';

// @ts-expect-error
const {Code, Value, interpolate: _interpolate, interpolateNode, block, set} = Reanimated;
const interpolate = interpolateNode || _interpolate;

Expand Down
2 changes: 0 additions & 2 deletions src/components/tabController/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// TODO: support commented props
import React, {Component} from 'react';
import _ from 'lodash';
// @ts-expect-error
import Reanimated, {Easing as _Easing, EasingNode} from 'react-native-reanimated';
import {State} from 'react-native-gesture-handler';
import {timing, fract, between} from 'react-native-redash';
Expand Down Expand Up @@ -34,7 +33,6 @@ const {
block,
onChange,
interpolate: _interpolate,
// @ts-expect-error
interpolateNode,
round,
multiply
Expand Down
2 changes: 0 additions & 2 deletions src/incubator/TouchableOpacity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import React, {PureComponent} from 'react';
import {processColor, StyleSheet, LayoutChangeEvent} from 'react-native';
import _ from 'lodash';
// @ts-expect-error
import Reanimated, {Easing as _Easing, EasingNode} from 'react-native-reanimated';
import {TapGestureHandler, LongPressGestureHandler, State, LongPressGestureHandlerGestureEvent} from 'react-native-gesture-handler';
import {asBaseComponent, forwardRef, BaseComponentInjectedProps, ForwardRefInjectedProps} from '../commons/new';
Expand All @@ -17,7 +16,6 @@ const {
eq,
neq,
interpolate: _interpolate,
// @ts-expect-error
interpolateNode,
Extrapolate,
Value,
Expand Down

0 comments on commit eff3b21

Please sign in to comment.