Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
talha_silentcontent
/
node_modules
/
tsafe
/
Filename :
UnpackPromise.d.ts
back
Copy
/** * Use case: * declare const pr: Promise<string[]>; * const x: UnpackPromise<typeof pr>; <== x is string[] */ export type UnpackPromise<T extends PromiseLike<unknown> | undefined | null | false | ""> = T extends PromiseLike<infer U> ? U : never;