.
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* 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>;
|
||||
Reference in New Issue
Block a user