UNPKG

alagarr

Version:

Alagarr is a request-response helper library that removes the boilerplate from your Node.js serverless functions and helps make your code portable.

3 lines (2 loc) 220 B
import { InterfaceResponse, InterfaceResponseData } from '../../types'; export default function setHeader(response: InterfaceResponse, responseData: InterfaceResponseData, key: string, value: string): InterfaceResponse;