Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/tsafe/UnpackPromise.ts

🔩 The missing TypeScript utils
Go to Latest
import * as tsafe from "https://deno.land/x/tsafe@v1.8.4/UnpackPromise.ts";

Type Aliases

Use case: declare const pr: Promise<string[]>; const x: UnpackPromise; <== x is string[]