import { client } from "./client"; export function deleteCourseById(id: string): Promise { return client(`/courses/${id}`, { method: "DELETE" }); }