UNPKG

csp-builder

Version:

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

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