Skip to content

WIP got rid of error in iep.ts #1042

WIP got rid of error in iep.ts

WIP got rid of error in iep.ts #1042

Triggered via push December 22, 2024 22:47
Status Failure
Total duration 3m 36s
Artifacts

pr.yml

on: push

Annotations

9 errors and 4 warnings
type-check: src/backend/routers/iep.test.ts#L97
Element implicitly has an 'any' type because expression of type '0' can't be used to index type '{ description: string; benchmark_id: string; frequency: string; instructions: string; number_of_trials: number | null; assignees: { role: string; email: string; email_verified_at: Date | null; ... 23 more ...; trial_count: number | null; }[]; }'.
type-check: src/components/benchmarks/BenchmarkAssignmentModal.tsx#L69
Property 'map' does not exist on type '{ description: string; benchmark_id: string; frequency: string; instructions: string; number_of_trials: number | null; assignees: { role: string; email: string; email_verified_at: Date | null; ... 23 more ...; trial_count: number | null; }[]; }'.
type-check: src/components/benchmarks/BenchmarkAssignmentModal.tsx#L69
Parameter 'thisBenchmark' implicitly has an 'any' type.
type-check
Process completed with exit code 2.
lint: src/backend/routers/iep.test.ts#L97
Unsafe member access .description on an `error` typed value
lint: src/components/benchmarks/BenchmarkAssignmentModal.tsx#L69
Unsafe call of a(n) `error` type typed value
lint: src/components/benchmarks/BenchmarkAssignmentModal.tsx#L74
Unsafe member access .description on an `any` value
lint
Process completed with exit code 1.
test
Process completed with exit code 1.
type-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
storybook-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636