2025-02-03 18:18:20 +03:00

12 lines
254 B
TypeScript

import { Result } from "@shared/utils/result.ts";
class ClientApi<Req, Res> {
constructor(path: string, method: string) {}
validate(res: Response): ResultAsync<Res> {
const body = await res.json();
}
}
class ServerApi<Req, Res> {
}