client.js → client.ts
First file of the Phase 3 API-module TypeScript migration. Converts the shared axios client — the foundation every other api/* module imports — to .ts, typing the default export as AxiosInstance so .get<T>() / .post<T>() generics work downstream. Mechanical: rename, type the client and interceptor error param, drop .js from imports. No behavior change.
client.js → client.ts
First file of the Phase 3 API-module TypeScript migration. Converts the shared axios client — the foundation every other
api/*module imports — to.ts, typing the default export asAxiosInstanceso.get<T>()/.post<T>()generics work downstream. Mechanical: rename, type the client and interceptor error param, drop.jsfrom imports. No behavior change.npx vue-tsc --noEmitfromfrontend/— no new errors (2 remaining errors are pre-existing, in unrelated files)client.tsdefault export types asAxiosInstance; the 6 importers still resolve