fix: TypeScript errors, shadow deprecations, and build configuration

- Fix shadow style deprecation warnings across components (boxShadow)
- Add type declaration files (codec.d.ts, modules.d.ts)
- Update metro.config.cjs for proper asset extensions
- Update tsconfig.json with module resolution settings
- Fix TypeScript errors in shared/lib files
- Update app icons (optimized PNG files)
This commit is contained in:
2026-01-15 09:37:37 +03:00
parent 9daca61a24
commit 1f8da810e0
28 changed files with 225 additions and 75 deletions
+7 -2
View File
@@ -47,7 +47,12 @@ export const Card: React.FC<CardProps> = ({
testID={testID}
onPress={onPress}
style={({ pressed }) => [
...cardStyle,
styles.card,
variant === 'elevated' && styles.elevated,
variant === 'outlined' && styles.outlined,
variant === 'filled' && styles.filled,
elevation ? { elevation } : null,
style,
pressed && styles.pressed,
]}
>
@@ -56,7 +61,7 @@ export const Card: React.FC<CardProps> = ({
);
}
return <View testID={testID} style={cardStyle}>{content}</View>;
return <View testID={testID} style={cardStyle as any}>{content}</View>;
};
const styles = StyleSheet.create({