refactor(core): harden API parsing and improve type safety

This commit is contained in:
LTbinglingfeng
2026-02-08 09:42:00 +08:00
parent 3783bec983
commit 6c2cd761ba
39 changed files with 689 additions and 404 deletions

View File

@@ -5,5 +5,5 @@
import { apiClient } from './client';
export const versionApi = {
checkLatest: () => apiClient.get('/latest-version')
checkLatest: () => apiClient.get<Record<string, unknown>>('/latest-version')
};