teddit/node_modules/helmet/dist/middlewares/x-frame-options/index.d.ts

7 lines
295 B
TypeScript
Raw Normal View History

2020-11-17 21:44:32 +01:00
import { IncomingMessage, ServerResponse } from "http";
export interface XFrameOptionsOptions {
action?: string;
}
declare function xFrameOptions(options?: Readonly<XFrameOptionsOptions>): (_req: IncomingMessage, res: ServerResponse, next: () => void) => void;
export default xFrameOptions;