gatsby-source-prismic
Version:
Gatsby source plugin for building websites using Prismic as a data source
11 lines (10 loc) • 400 B
TypeScript
import type { FetchLike } from "@prismicio/custom-types-client";
import type { GatsbyCache } from "gatsby";
import type { Response } from "node-fetch";
type CachedFetchArgs = {
fetch: FetchLike;
cache: GatsbyCache;
name: string;
};
export declare const cachedFetch: (input: Parameters<FetchLike>[0], init: Parameters<FetchLike>[1], args: CachedFetchArgs) => Promise<Response>;
export {};