mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-18 10:40:50 +08:00
refactor(core): harden API parsing and improve type safety
This commit is contained in:
@@ -5,5 +5,5 @@
|
||||
import { apiClient } from './client';
|
||||
|
||||
export const versionApi = {
|
||||
checkLatest: () => apiClient.get('/latest-version')
|
||||
checkLatest: () => apiClient.get<Record<string, unknown>>('/latest-version')
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user