import type { Int } from "."; import type { Sub } from "./Sub"; import type { Arg0, Fn } from "../../HKT"; /** * Subtract 1 from an {@link Int}. * * Sig: `(n: Int) => Int` */ export type Dec = Sub; /** * [Fn] Subtract 1 from an {@link Int}. * * Sig: `(n: Int) => Int` */ export default interface DecFn extends Fn<[Int], Int> { def: () => Dec>; }