teddit/node_modules/helmet/dist/middlewares/expect-ct/index.d.ts
2020-11-17 21:44:32 +01:00

9 lines
322 B
TypeScript

import { IncomingMessage, ServerResponse } from "http";
export interface ExpectCtOptions {
maxAge?: number;
enforce?: boolean;
reportUri?: string;
}
declare function expectCt(options?: Readonly<ExpectCtOptions>): (_req: IncomingMessage, res: ServerResponse, next: () => void) => void;
export default expectCt;