fix untyped imports

This commit is contained in:
Samuel Newman
2026-07-28 10:12:31 +03:00
parent 36bec13961
commit 9167dfe7b6
3 changed files with 4 additions and 6 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import {View} from 'react-native' import {View} from 'react-native'
import * as Progress from 'react-native-progress' import {Circle as ProgressCircle} from 'react-native-progress'
import {atoms as a, useTheme} from '#/alf' import {atoms as a, useTheme} from '#/alf'
import {AnimatedCheck} from '../anim/AnimatedCheck' import {AnimatedCheck} from '../anim/AnimatedCheck'
@@ -25,7 +25,7 @@ export function ProgressGuideTask({
{current === total ? ( {current === total ? (
<AnimatedCheck playOnMount fill={t.palette.primary_500} width={20} /> <AnimatedCheck playOnMount fill={t.palette.primary_500} width={20} />
) : ( ) : (
<Progress.Circle <ProgressCircle
progress={current / total} progress={current / total}
color={t.palette.primary_400} color={t.palette.primary_400}
size={20} size={20}
+1 -2
View File
@@ -21,8 +21,7 @@ import {
type ViewStyle, type ViewStyle,
} from 'react-native' } from 'react-native'
import {KeyboardAvoidingView} from 'react-native-keyboard-controller' import {KeyboardAvoidingView} from 'react-native-keyboard-controller'
// @ts-expect-error no type definition import {Circle as ProgressCircle} from 'react-native-progress'
import ProgressCircle from 'react-native-progress/Circle'
import Animated, { import Animated, {
type AnimatedRef, type AnimatedRef,
type AnimatedStyle, type AnimatedStyle,
@@ -1,6 +1,5 @@
import {View} from 'react-native' import {View} from 'react-native'
// @ts-expect-error no type definition import {Pie as ProgressPie} from 'react-native-progress'
import ProgressPie from 'react-native-progress/Pie'
import {type ImagePickerAsset} from 'expo-image-picker' import {type ImagePickerAsset} from 'expo-image-picker'
import {atoms as a, useTheme} from '#/alf' import {atoms as a, useTheme} from '#/alf'