Overview
Running tsc --noEmit reports 3 TypeScript errors in tests/services/api/axios.config.test.ts. These are part of the project-wide type-check debt tracked in #1074; fixing them file-by-file is the agreed approach. This issue covers just this one file so it stays a small, self-contained change.
Specifications
Features:
tests/services/api/axios.config.test.ts compiles with no TypeScript errors under tsc --noEmit.
Tasks:
- Run
npx tsc --noEmit and address every error reported for tests/services/api/axios.config.test.ts (correct types, add missing properties/exports, fix generic/prop mismatches, remove unsafe casts).
- Keep the change behaviour-preserving; do not silence errors with
@ts-ignore/as any.
Impacted Files:
tests/services/api/axios.config.test.ts
Acceptance Criteria
npx tsc --noEmit reports zero errors for tests/services/api/axios.config.test.ts.
- No new
@ts-ignore/as any is introduced.
- All the CI passes
- Star the repo
Overview
Running
tsc --noEmitreports 3 TypeScript errors intests/services/api/axios.config.test.ts. These are part of the project-wide type-check debt tracked in #1074; fixing them file-by-file is the agreed approach. This issue covers just this one file so it stays a small, self-contained change.Specifications
Features:
tests/services/api/axios.config.test.tscompiles with no TypeScript errors undertsc --noEmit.Tasks:
npx tsc --noEmitand address every error reported fortests/services/api/axios.config.test.ts(correct types, add missing properties/exports, fix generic/prop mismatches, remove unsafe casts).@ts-ignore/as any.Impacted Files:
tests/services/api/axios.config.test.tsAcceptance Criteria
npx tsc --noEmitreports zero errors fortests/services/api/axios.config.test.ts.@ts-ignore/as anyis introduced.