Контроль и ограничения (часть 1) #30
Annotations
4 errors
Build:
src/App.tsx#L19
Type '{ id: number; user: { name: string; avatar: string; }; rating: number; text: string; date: Date; }[]' is not assignable to type 'UserReview[]'.
|
Build:
src/components/Favorites/Favorite.tsx#L37
Property 'cardcssname' is missing in type '{ key: number; offer: Offer; }' but required in type 'OfferCardProps'.
|
Build:
src/components/OtherPlacesNearby/OtherPlacesNearby.tsx#L8
Property 'cardcssname' is missing in type '{ offers: { id: number; title: string; price: number; rating: number; type: string; isPremium: boolean; previewImage: string; NumberOfPlaces: number; location: { latitude: number; longitude: number; zoom: number; }; city: { ...; }; isFavorite: boolean; }[]; }' but required in type 'OfferListProps'.
|
Build
Process completed with exit code 2.
|
Loading