(res: Response)
| 54 | } |
| 55 | |
| 56 | export const getResponseHeader = <Response extends Res = Res>(res: Response) => ( |
| 57 | field: string |
| 58 | ): string | number | string[] => { |
| 59 | return res.getHeader(field) |
| 60 | } |
| 61 | |
| 62 | export const setLinksHeader = <Response extends Res = Res>(res: Response) => (links: { |
| 63 | [key: string]: string |
no outgoing calls
no test coverage detected