7 lines
288 B
TypeScript
7 lines
288 B
TypeScript
|
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
|