csp-builder
Version:
A builder tool to help generate Content Security Policies in a type-safe way
9 lines (8 loc) • 493 B
TypeScript
import { DirectiveType, HostSource, PredefinedSource, SchemaSource } from '../../types';
import { AbstractMultiValueDirective } from '../abstract-multi-value-directive';
export declare type FrameAncestorsSource = SchemaSource | HostSource | PredefinedSource.Self | PredefinedSource.None;
export declare class FrameAncestors extends AbstractMultiValueDirective<FrameAncestorsSource> {
getDirectiveName(): string;
getDirectiveType(): DirectiveType;
getMinimumCspVersion(): number;
}