DiscofyAPI/node_modules/helmet/dist/middlewares/expect-ct/index.d.ts

9 lines
307 B
TypeScript
Raw Permalink Normal View History

2021-03-25 17:23:36 +01:00
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