Files
portfolio2023/node_modules/@adonisjs/shield/build/src/csp.d.ts
T
2023-11-24 22:35:41 +01:00

9 lines
328 B
TypeScript

/// <reference path="../adonis-typings/index.d.ts" />
import { CspOptions } from '@ioc:Adonis/Addons/Shield';
import { noop } from './noop';
/**
* Factory that returns a function to set the `Content-Security-Policy` header based upon
* the user config
*/
export declare function cspFactory(options: CspOptions): typeof noop;