Skip to content

Commit

Permalink
fix ts errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Inbal-Tish committed Aug 9, 2021
1 parent fe650ce commit 7c218db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/agenda/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
3 changes: 2 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down

0 comments on commit 7c218db

Please sign in to comment.