Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/spy/index.ts>PromiseValue

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias PromiseValue
import { type PromiseValue } from "https://deno.land/x/rimbu@1.0.0/spy/index.ts";

Utility type to return the contained type of a promise.

definition: P extends Promise<infer R> ? R : never