Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PolicyTuple

import type { PolicyTuple } from "https://gitlab.com/soapbox-pub/strfry-policies/-/raw/develop/mod.ts";

A policy function with opts to run it with. Used by the pipeline.

type PolicyTuple<P extends Policy = Policy> = [P, InferPolicyOpts<P>];

§Type Parameters

§
P extends Policy = Policy
[src]

§Type

§
[P, InferPolicyOpts<P>]
[src]