import { client } from "./client"; import type { Course } from "./types"; export function getCourseById(id: string, signal?: AbortSignal): Promise { return client(`/courses/${id}`, { signal }); }