First commit

This commit is contained in:
2025-01-15 19:28:55 +01:00
committed by andreas
commit 5d4c4a054e
18475 changed files with 3309357 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
"use strict";
var safeToString = require("../safe-to-string")
, isThenable = require("./is-thenable");
module.exports = function (value) {
if (!isThenable(value)) throw new TypeError(safeToString(value) + " is not a thenable");
return value;
};