fx-flow v0.7.0 / pipe/strict / Awaited
Type alias: Awaited<T>
Awaited<
T
>:T
extendsnull
|undefined
?T
:T
extendsobject
&object
?F
extends (value
, ...args
) =>any
?Awaited
<V
> :never
:T
Recursively unwraps the "awaited type" of a type. Non-promise "thenables" should resolve to never
. This emulates the behavior of await
.
Type parameters
• T
Source
node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1563