backend/types/http.d.ts
creations 1f12212d4e
All checks were successful
Code quality checks / biome (push) Successful in 9s
add generic response, types and kinda start register
2025-05-02 10:02:06 -04:00

6 lines
137 B
TypeScript

interface GenericJsonResponseOptions {
headers?: Record<string, string>;
message?: string;
error?: string;
[key: string]: unknown;
}