import { type UnpackPromise } from "https://deno.land/x/windmill@v1.415.2/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