From 7c218db0d5181ec6b684a5942a9bf79385531eac Mon Sep 17 00:00:00 2001 From: Inbal Tish Date: Mon, 9 Aug 2021 15:26:03 +0300 Subject: [PATCH] fix ts errors --- src/agenda/index.tsx | 2 +- src/types.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/agenda/index.tsx b/src/agenda/index.tsx index 638caca7f6..bb0695a465 100644 --- a/src/agenda/index.tsx +++ b/src/agenda/index.tsx @@ -4,7 +4,7 @@ import XDate from 'xdate'; import memoize from 'memoize-one'; import React, {Component} from 'react'; -import {Text, View, Dimensions, Animated, StyleProp, ViewStyle, LayoutChangeEvent, NativeSyntheticEvent, NativeScrollEvent} from 'react-native'; +import {Text, View, Dimensions, Animated, ViewStyle, LayoutChangeEvent, NativeSyntheticEvent, NativeScrollEvent} from 'react-native'; // @ts-expect-error import {extractComponentProps} from '../component-updater.js'; diff --git a/src/types.ts b/src/types.ts index f526f4c47a..a1cf01d86b 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,7 +1,8 @@ -import { string } from 'prop-types'; import {ColorValue, ViewStyle, TextStyle} from 'react-native'; +// @ts-expect-error import {UPDATE_SOURCES} from './expandableCalendar/commons'; + export type Direction = 'left' | 'right'; export type UpdateSource = keyof typeof UPDATE_SOURCES; export type DateData = {