refactor: change type from 'any' to 'unknown' in ApiResponse and EventHandler for better type safety
Some checks failed
Frontend CI / lint (push) Failing after 19s
Frontend CI / build (push) Has been skipped

This commit is contained in:
JSC
2025-08-15 00:02:20 +02:00
parent 4e50e7e79d
commit c6912f5a92
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
// Generic API types
export interface ApiResponse<T = any> {
export interface ApiResponse<T = unknown> {
data?: T
message?: string
error?: string