Skip to content

Context7 Platform -- Up-to-date docs for AI agents

186 B
Raw Blame
import type { Requester } from "@http";

export function requesterWith(result: unknown): Requester {
  return {
    request: async <TResult>() => ({ result: result as TResult }),
  };
}