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