Skip to main content
Module

x/hex/mod.ts>fp.decorate

An ecosystem delivering practices, philosophy and portability.
Go to Latest
variable fp.decorate
import { fp } from "https://deno.land/x/hex@0.5.15/mod.ts";
const { decorate } = fp;

type

<T1, T2>(target: Decorated<T1, T2>, decorator: (...args: readonly [Decorated<T1, T2>, ...T1[]]) => T2) => unknown