UNPKG

csp-builder

Version:

A builder tool to help generate Content Security Policies in a type-safe way

11 lines (10 loc) 321 B
import { DirectiveType } from '../../types'; import { AbstractSingleValueDirective } from '../abstract-single-value-directive'; export class ReportTo extends AbstractSingleValueDirective { getDirectiveName() { return 'report-to'; } getDirectiveType() { return DirectiveType.Reporting; } }