UNPKG

scryfall-client

Version:
11 lines (10 loc) 342 B
import type { ApiResponse } from "../../types/api-response"; import type { AnyJson } from "../../types/json"; type PostBody = Record<string, AnyJson>; interface RequestOptions { url: string; method?: "post" | "get"; body?: PostBody; } export default function sendRequest(options: RequestOptions): Promise<ApiResponse>; export {};