Desarrollador de Software
type HttpMethod = "GET" | "POST" | "PATCH" | "DELETE"; function example(method: HttpMethod, url: string): void { console.log(`${method}: ${url}`); }