type alias UnpackPromiseimport { type UnpackPromise } from "https://deno.land/x/windmill@v1.384.0/node_modules/tsafe/src/UnpackPromise.ts"; Use case: declare const pr: Promise<string[]>; const x: UnpackPromise; <== x is string[] Type ParametersT extends | PromiseLike<unknown> | undefined | null | false | ""definition: T extends PromiseLike<infer U> ? U : never