DiscofyAPI/node_modules/helmet/dist/middlewares/x-permitted-cross-domain-po.../index.d.ts

7 lines
363 B
TypeScript
Raw Normal View History

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