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