benji.monster/node_modules/feature-policy/dist/index.d.ts

10 lines
336 B
TypeScript
Raw Normal View History

2020-01-03 20:48:09 +00:00
/// <reference types="node" />
import { IncomingMessage, ServerResponse } from 'http';
interface FeaturePolicyOptions {
features: {
[featureName: string]: string[];
};
}
declare const _default: (options: FeaturePolicyOptions) => (_req: IncomingMessage, res: ServerResponse, next: () => void) => void;
export = _default;