@netlify/content-engine
Version:
6 lines • 439 B
TypeScript
import { IGatsbyState, ISetDomainRequestHeaders } from "../types";
/**
* Takes in a domain and headers for that domain, from the setRequestHeaders action, and stores them in a Map to be accessed when making requests.
*/
export declare const setRequestHeadersReducer: (state: IGatsbyState["requestHeaders"] | undefined, action: ISetDomainRequestHeaders) => IGatsbyState["requestHeaders"];
//# sourceMappingURL=set-request-headers.d.ts.map