Rebasely Beta: data may be purged

justintypescript-ultra-strict Public

Text · 7 lines · 310 B · at eb4a6ea

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