Skip to content

feat - add basic UI components and routing functionalities #24

feat - add basic UI components and routing functionalities

feat - add basic UI components and routing functionalities #24

Re-run triggered January 4, 2025 21:07
Status Failure
Total duration 23s
Artifacts

build.yml

on: pull_request
Build and Test
12s
Build and Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Build and Test: src/components/LeagueCarousel.tsx#L40
Binding element 'leagues' implicitly has an 'any' type.
Build and Test: src/components/LeagueCarousel.tsx#L40
Binding element 'onSelectLeague' implicitly has an 'any' type.
Build and Test: src/components/LeagueCarousel.tsx#L43
Parameter 'league' implicitly has an 'any' type.
Build and Test: src/pages/Home.tsx#L135
Type 'Match[]' is not assignable to type 'Match[]'. Two different types with this name exist, but they are unrelated.
Build and Test: src/pages/Home.tsx#L139
Type 'Match[]' is not assignable to type 'Match[]'. Two different types with this name exist, but they are unrelated.
Build and Test: src/pages/Home.tsx#L143
Type 'Match[]' is not assignable to type 'Match[]'. Two different types with this name exist, but they are unrelated.
Build and Test: src/pages/LeagueDetails.tsx#L213
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ 1: { id: number; name: string; year: number; teams: { id: number; name: string; logo: string; }[]; }; 2: { id: number; name: string; year: number; teams: { id: number; name: string; logo: string; }[]; }; }'.
Build and Test: src/pages/LeagueDetails.tsx#L214
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ 1: { past: { id: number; homeTeam: string; awayTeam: string; date: string; score: string; }[]; upcoming: { id: number; homeTeam: string; awayTeam: string; date: string; }[]; }; 2: { past: { id: number; homeTeam: string; awayTeam: string; date: string; score: string; }[]; upcoming: { ...; }[]; }; }'.
Build and Test: src/pages/LeagueDetails.tsx#L227
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ 1: { id: number; name: string; year: number; teams: { id: number; name: string; logo: string; }[]; }; 2: { id: number; name: string; year: number; teams: { id: number; name: string; logo: string; }[]; }; }'.
Build and Test: src/pages/LeagueDetails.tsx#L253
Type 'Match[]' is not assignable to type 'Match[]'. Two different types with this name exist, but they are unrelated.
Build and Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636