Skip to main content
Module

x/fun/mod.ts>promise.AnyPromise

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Go to Latest
type alias promise.AnyPromise
import { type promise } from "https://deno.land/x/fun@v2.0.0-alpha.12/mod.ts";
const { AnyPromise } = promise;

A type for Promise over any, useful as an extension target for functions that take any Promise and do not need to unwrap the type.

definition: Promise<any>