UNPKG

gatsby

Version:
8 lines (7 loc) 406 B
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: Map<string, { [header: string]: string; }> | undefined, action: ISetDomainRequestHeaders) => IGatsbyState["requestHeaders"];