1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Fix ts warnings

This commit is contained in:
xmflsct
2023-02-11 22:04:32 +01:00
parent fcc53672fa
commit b679c0760f
19 changed files with 46 additions and 46 deletions

View File

@ -1,6 +1,6 @@
import { StyleConstants } from '@utils/styles/constants'
import { useTheme } from '@utils/styles/ThemeManager'
import React, { forwardRef, RefObject } from 'react'
import React, { ForwardedRef, forwardRef } from 'react'
import { Platform, TextInput, TextInputProps, View } from 'react-native'
import Animated, { useAnimatedStyle, withTiming } from 'react-native-reanimated'
import { EmojisState } from './Emojis/Context'
@ -35,7 +35,7 @@ const ComponentInput = forwardRef(
isFocused,
...props
}: Props,
ref: RefObject<TextInput>
ref: ForwardedRef<TextInput>
) => {
const { colors, mode } = useTheme()