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

x/froebel/types.ts>PromType

A strictly typed utility library.
Go to Latest
type alias PromType
import { type PromType } from "https://deno.land/x/froebel@v0.18.0/types.ts";

If T is promise then the type it resolves to, otherwise T.

definition: T extends PromiseLike<infer I> ? I : T