import { type UnpackPromise } from "https://deno.land/x/windmill@v1.82.0/node_modules/tsafe/UnpackPromise.d.ts";
Use case: declare const pr: Promise<string[]>; const x: UnpackPromise; <== x is string[]
definition: T extends PromiseLike<infer U> ? U : never