mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-03 23:36:21 +02:00
9 lines
328 B
TypeScript
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;
|