UNPKG

csp-builder

Version:

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

11 lines (10 loc) 319 B
import { DirectiveType } from '../../types'; import { AbstractMultiValueDirective } from '../abstract-multi-value-directive'; export class ObjectSource extends AbstractMultiValueDirective { getDirectiveName() { return 'object-src'; } getDirectiveType() { return DirectiveType.Fetch; } }