Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/tsafe/lab/PromiseOrNot.ts>PromiseOrNot

🔩 The missing TypeScript utils
Go to Latest
type alias PromiseOrNot
import { type PromiseOrNot } from "https://deno.land/x/tsafe@v1.4.1/lab/PromiseOrNot.ts";
definition: PromiseLike<T> | T