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

9 lines
346 B
TypeScript

/// <reference path="../adonis-typings/index.d.ts" />
import { HstsOptions } from '@ioc:Adonis/Addons/Shield';
import { noop } from './noop';
/**
* Factory function that returns a new function to Add `Strict-Transport-Security`
* header based upon given user options.
*/
export declare function hstsFactory(options: HstsOptions): typeof noop;