DiscofyAPI/node_modules/helmet/dist/middlewares/referrer-policy/index.d.ts

7 lines
303 B
TypeScript
Raw Permalink Normal View History

2021-03-25 17:23:36 +01:00
import { IncomingMessage, ServerResponse } from "http"
export interface ReferrerPolicyOptions {
policy?: string | string[]
}
declare function referrerPolicy(options?: Readonly<ReferrerPolicyOptions>): (_req: IncomingMessage, res: ServerResponse, next: () => void) => void
export default referrerPolicy