Files
lcbp3.np-dms.work/frontend/node_modules/next/dist/shared/lib/is-thenable.d.ts
2025-09-21 20:29:15 +07:00

8 lines
233 B
TypeScript
Executable File

/**
* Check to see if a value is Thenable.
*
* @param promise the maybe-thenable value
* @returns true if the value is thenable
*/
export declare function isThenable<T = unknown>(promise: Promise<T> | T): promise is Promise<T>;