Rebasely Beta: data may be purged

justintypescript-ultra-strict Public

TypeScript · 7 lines · 307 B · at f30ac63

export type Request = { method: string; headers: Record<string, string>; body: string };export type Response = { status: number; body: Record<string, unknown> };/** Never throws; every outcome is a Response. */export function handleCreateUser(req: Request, nextId: () => string): Response {  // TODO}