teddit/node_modules/helmet/dist/middlewares/x-permitted-cross-domain-policies/index.d.ts
2020-11-17 21:44:32 +01:00

7 lines
370 B
TypeScript

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;