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