Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PromiseOf

type PromiseOf<T> = T extends Promise<infer U> ? U : T;

§Type Parameters

§Type

§
T extends Promise<infer U> ? U : T
[src]