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

x/valibot/mod.ts>MaybePromise

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias MaybePromise
Re-export
import { type MaybePromise } from "https://deno.land/x/valibot@v0.30.0/mod.ts";

Maybe promise type.

TODO: Refactor library with this type.

definition: T | Promise<T>